Skip to content

Commit

Permalink
fix: Request IGNORE_BATTERY_OPTIMIZATIONS on boot
Browse files Browse the repository at this point in the history
  • Loading branch information
ponces committed Sep 14, 2022
1 parent 34e67d3 commit a82b0cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ui/views/navigation/navigation_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class NavigationViewModel extends IndexTrackingViewModel {
}
RootAPI().hasRootPermissions();
Permission.requestInstallPackages.request();
Permission.ignoreBatteryOptimizations.request();
}

Widget getViewForIndex(int index) {
Expand Down

0 comments on commit a82b0cd

Please sign in to comment.