From 84c30e0bd7392cf2a1bacaa8e49b23ade32dac58 Mon Sep 17 00:00:00 2001 From: PuPha Date: Mon, 13 Jan 2025 14:02:58 +0700 Subject: [PATCH] fix type cast --- lib/service/auth_service.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/service/auth_service.dart b/lib/service/auth_service.dart index 24b661050..9a806fe53 100644 --- a/lib/service/auth_service.dart +++ b/lib/service/auth_service.dart @@ -68,8 +68,8 @@ class AuthService { } bool isBetaTester() { - final betaTester = injector().getConfig>( - ConfigGroup.tester, ConfigKey.betaTester, []); + final betaTester = injector().getConfig>( + ConfigGroup.tester, ConfigKey.betaTester, []).cast(); return betaTester.contains(getUserId()); }