mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-20 02:59:26 +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 {
|
Future<void> _checkTorBrowser() async {
|
||||||
if (!kIsWeb) return;
|
if (!kIsWeb) return;
|
||||||
final isTor = await TorBrowserDetector.isTorBrowser;
|
final isTor = await TorBrowserDetector.isTorBrowser;
|
||||||
setState(() => isTorBrowser = isTor);
|
isTorBrowser = isTor;
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> dehydrate() =>
|
Future<void> dehydrate() =>
|
||||||
|
Loading…
Reference in New Issue
Block a user