Wait only 10s to declare a directory as recent

This commit is contained in:
crschnick 2024-01-03 14:22:29 +00:00
parent 0754e79970
commit 44cae41799

View file

@ -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) {