fix: Sentry switch being broken

This commit is contained in:
Sorunome 2022-05-07 09:51:37 +02:00
commit 11507c4439

View file

@ -13,7 +13,7 @@ abstract class SentryController {
BuildContext context, bool enableSentry) async { BuildContext context, bool enableSentry) async {
if (!AppConfig.enableSentry) return; if (!AppConfig.enableSentry) return;
final storage = Store(); final storage = Store();
await storage.setItem(SettingKeys.sentry, enableSentry.toString()); await storage.setItemBool(SettingKeys.sentry, enableSentry);
return; return;
} }