mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
feat: decrease time for force refresh of patches.
This commit is contained in:
parent
9de063aced
commit
f5ebfc92fc
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ class HomeViewModel extends BaseViewModel {
|
|||
Future<void> forceRefresh(BuildContext context) async {
|
||||
await Future.delayed(const Duration(seconds: 1));
|
||||
if (_lastUpdate == null ||
|
||||
_lastUpdate!.difference(DateTime.now()).inSeconds > 60) {
|
||||
_lastUpdate!.difference(DateTime.now()).inSeconds > 2) {
|
||||
_managerAPI.clearAllData();
|
||||
}
|
||||
initialize(context);
|
||||
|
|
Loading…
Reference in a new issue