Skip to content

Commit

Permalink
fix: fix battery optimisation dialog always displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
Gedsh committed May 1, 2024
1 parent f2f3d9c commit 1e5da53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class RequestIgnoreBatteryOptimizationDialog : ExtendedDialogFragment() {
fun getInstance(
context: Context,
preferenceRepository: PreferenceRepository,
forceShow: Boolean = true
forceShow: Boolean = false
): DialogFragment? {
val pref = PreferenceManager.getDefaultSharedPreferences(context)
val packageName = context.packageName
Expand Down

0 comments on commit 1e5da53

Please sign in to comment.