Skip to content

Commit

Permalink
fix: logic error
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAabedKhan authored Jul 30, 2023
1 parent f3f2ba8 commit 72a9106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/views/home/home_viewmodel.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class HomeViewModel extends BaseViewModel {

Future<void> initialize(BuildContext context) async {
_latestManagerVersion = await _managerAPI.getLatestManagerVersion();
if(_managerAPI.getPatchesConsent()){
if(!_managerAPI.getPatchesConsent()){
await showPatchesConsent(context);
}
await flutterLocalNotificationsPlugin.initialize(
Expand Down

0 comments on commit 72a9106

Please sign in to comment.