From d7620217f80df655fc41bdd29e40683c0daa2ee8 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Sat, 7 May 2022 09:51:37 +0200 Subject: [PATCH] fix: Sentry switch being broken --- lib/utils/sentry_controller.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }