mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Wait only 10s to declare a directory as recent
This commit is contained in:
parent
0754e79970
commit
44cae41799
1 changed files with 2 additions and 1 deletions
|
@ -132,6 +132,7 @@ public class OpenFileSystemSavedState {
|
|||
}
|
||||
|
||||
lastDirectory = dir;
|
||||
// After 10 seconds
|
||||
TIMEOUT_TIMER.schedule(
|
||||
new TimerTask() {
|
||||
@Override
|
||||
|
@ -149,7 +150,7 @@ public class OpenFileSystemSavedState {
|
|||
});
|
||||
}
|
||||
},
|
||||
20000);
|
||||
10000);
|
||||
}
|
||||
|
||||
private void updateRecent(String dir) {
|
||||
|
|
Loading…
Reference in a new issue