fix: Hide google services warning after marked

This commit is contained in:
Krille Fear 2022-12-30 13:09:21 +01:00
commit 5adf1aa3af
2 changed files with 5 additions and 14 deletions

View file

@ -362,11 +362,13 @@ class ChatListController extends State<ChatList>
_hackyWebRTCFixForWeb();
CallKeepManager().initialize();
WidgetsBinding.instance.addPostFrameCallback((_) async {
searchServer = await Store().getItem(_serverStoreNamespace);
if (mounted) {
searchServer = await Store().getItem(_serverStoreNamespace);
Matrix.of(context).backgroundPush?.setupPush();
}
});
_checkTorBrowser();
Matrix.of(context).backgroundPush?.setupPush();
_onSyncStatus =
Matrix.of(context).client.onSyncStatus.stream.listen((status) {
Logs().v('Sync Status: ${status.status.name}');