mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
feat: cellular video/audio qa
Closes #52 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -68,12 +68,13 @@ class _MainAppState extends State<MainApp>
|
||||
}
|
||||
|
||||
void _checkDefaultSearch([bool shouldCheck = false]) {
|
||||
if (shouldCheck &&
|
||||
_mainController.pages[_mainController.pageController.page?.round() ?? 0]
|
||||
is! HomePage) {
|
||||
return;
|
||||
}
|
||||
if (_homeController.enableSearchWord) {
|
||||
if (shouldCheck &&
|
||||
_mainController
|
||||
.pages[_mainController.pageController.page?.round() ?? 0]
|
||||
is! HomePage) {
|
||||
return;
|
||||
}
|
||||
int now = DateTime.now().millisecondsSinceEpoch;
|
||||
if (now - _homeController.lateCheckAt >= 5 * 60 * 1000) {
|
||||
_homeController.lateCheckAt = now;
|
||||
|
||||
Reference in New Issue
Block a user