mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-19 10:39:26 +01:00
refactor: Remove syncstatus verbose logs
This commit is contained in:
parent
9384ef0503
commit
a48e42dfcf
@ -352,8 +352,6 @@ class ChatListController extends State<ChatList>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StreamSubscription? _onSyncStatus;
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void initState() {
|
void initState() {
|
||||||
_initReceiveSharingIntent();
|
_initReceiveSharingIntent();
|
||||||
@ -370,10 +368,6 @@ class ChatListController extends State<ChatList>
|
|||||||
});
|
});
|
||||||
|
|
||||||
_checkTorBrowser();
|
_checkTorBrowser();
|
||||||
_onSyncStatus =
|
|
||||||
Matrix.of(context).client.onSyncStatus.stream.listen((status) {
|
|
||||||
Logs().v('Sync Status: ${status.status.name}');
|
|
||||||
});
|
|
||||||
|
|
||||||
super.initState();
|
super.initState();
|
||||||
}
|
}
|
||||||
@ -383,7 +377,6 @@ class ChatListController extends State<ChatList>
|
|||||||
_intentDataStreamSubscription?.cancel();
|
_intentDataStreamSubscription?.cancel();
|
||||||
_intentFileStreamSubscription?.cancel();
|
_intentFileStreamSubscription?.cancel();
|
||||||
_intentUriStreamSubscription?.cancel();
|
_intentUriStreamSubscription?.cancel();
|
||||||
_onSyncStatus?.cancel();
|
|
||||||
scrollController.removeListener(_onScroll);
|
scrollController.removeListener(_onScroll);
|
||||||
super.dispose();
|
super.dispose();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user