fix: web/mobile, skip querying onlines, if not in main page (#9535)

* fix: web, skip querying onlines, if not in main page

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix: web/mobile, skip querying onlines

Signed-off-by: fufesou <linlong1266@gmail.com>

* Set isInMainPage to false after router is changed.

Signed-off-by: fufesou <linlong1266@gmail.com>

---------

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2024-10-01 15:25:59 +08:00
committed by GitHub
parent b5414ec002
commit 334526026c
6 changed files with 24 additions and 3 deletions

View File

@@ -95,4 +95,3 @@ class WebSettingsPage extends StatelessWidget {
});
}
}