From a48e42dfcff352eb5da5e46528d4fa777bb690b9 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 15 Feb 2023 15:27:23 +0100 Subject: [PATCH] refactor: Remove syncstatus verbose logs --- lib/pages/chat_list/chat_list.dart | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/pages/chat_list/chat_list.dart b/lib/pages/chat_list/chat_list.dart index 9bf682bc..126bc7c5 100644 --- a/lib/pages/chat_list/chat_list.dart +++ b/lib/pages/chat_list/chat_list.dart @@ -352,8 +352,6 @@ class ChatListController extends State } } - StreamSubscription? _onSyncStatus; - @override void initState() { _initReceiveSharingIntent(); @@ -370,10 +368,6 @@ class ChatListController extends State }); _checkTorBrowser(); - _onSyncStatus = - Matrix.of(context).client.onSyncStatus.stream.listen((status) { - Logs().v('Sync Status: ${status.status.name}'); - }); super.initState(); } @@ -383,7 +377,6 @@ class ChatListController extends State _intentDataStreamSubscription?.cancel(); _intentFileStreamSubscription?.cancel(); _intentUriStreamSubscription?.cancel(); - _onSyncStatus?.cancel(); scrollController.removeListener(_onScroll); super.dispose(); }