mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 06:52:35 +01:00
Merge branch 'td/fix_tor_setState' into 'main'
fix: incorrect setState inside setState in ChatListController See merge request famedly/fluffychat!1028
This commit is contained in:
commit
a9a53e3c68
@ -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() =>
|
||||
|
@ -59,7 +59,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
|
||||
);
|
||||
|
||||
final isTor = await TorBrowserDetector.isTorBrowser;
|
||||
setState(() => isTorBrowser = isTor);
|
||||
isTorBrowser = isTor;
|
||||
}
|
||||
|
||||
void _updateFocus() {
|
||||
|
Loading…
Reference in New Issue
Block a user