Skip to content

Commit

Permalink
Fixes analytics settings crash
Browse files Browse the repository at this point in the history
  • Loading branch information
marchellodev committed Sep 11, 2021
1 parent 4923c65 commit 2c9305b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/screens/loading.dart
Expand Up @@ -209,7 +209,7 @@ void _initAnalytics(BuildContext context) {
return;
}

if (Hive.box('strings').get('tracking', defaultValue: '1') != '1') {
if (Hive.box<String>('strings').get('tracking', defaultValue: '1') != '1') {
print('Analytics is disables by the user');
return;
}
Expand Down

0 comments on commit 2c9305b

Please sign in to comment.