Skip to content

Commit

Permalink
fix type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
ppupha committed Jan 13, 2025
1 parent 9f1de3f commit 84c30e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/service/auth_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class AuthService {
}

bool isBetaTester() {
final betaTester = injector<RemoteConfigService>().getConfig<List<String>>(
ConfigGroup.tester, ConfigKey.betaTester, <String>[]);
final betaTester = injector<RemoteConfigService>().getConfig<List<dynamic>>(
ConfigGroup.tester, ConfigKey.betaTester, <String>[]).cast<String>();
return betaTester.contains(getUserId());
}

Expand Down

0 comments on commit 84c30e0

Please sign in to comment.