Merge branch 'soru/fix-sentry-switch' into 'main'

fix: Sentry switch being broken

See merge request famedly/fluffychat!864
This commit is contained in:
Sorunome 2022-05-07 08:20:14 +00:00
commit 347910b8ae

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