fix: Sentry switch being broken

This commit is contained in:
Sorunome 2022-05-07 09:51:37 +02:00
parent d1034e09b9
commit d7620217f8
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C

View File

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