mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-14 16:09:31 +01:00
fix: incorrect setState inside setState in ChatListController
This commit is contained in:
parent
b04dc0f4c9
commit
04b87bcd03
@ -668,7 +668,7 @@ class ChatListController extends State<ChatList>
|
||||
Future<void> _checkTorBrowser() async {
|
||||
if (!kIsWeb) return;
|
||||
final isTor = await TorBrowserDetector.isTorBrowser;
|
||||
setState(() => isTorBrowser = isTor);
|
||||
isTorBrowser = isTor;
|
||||
}
|
||||
|
||||
Future<void> dehydrate() =>
|
||||
|
Loading…
Reference in New Issue
Block a user