diff --git a/lib/utils/sentry_controller.dart b/lib/utils/sentry_controller.dart index b805d995..f81c6ca2 100644 --- a/lib/utils/sentry_controller.dart +++ b/lib/utils/sentry_controller.dart @@ -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; }