fix: Sentry switch being broken

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

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;
}