mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-05 08:12:28 -08:00
Refactor database runnable and prevent activity to be closed during saving
This commit is contained in:
1 parent
2208c67b62
commit
620b1b4f02
9 files changed
+73
-68
No files matched your search
@@ -327,7 +327,7 @@ public class GroupActivity extends LockingActivity
|
||||
|
||||
private void openGroup(PwGroup group, boolean isASearch) {
|
||||
// Check TimeoutHelper
|
||||
TimeoutHelper.INSTANCE.lockOrResetTimeout(this, () -> {
|
||||
TimeoutHelper.INSTANCE.checkTimeAndLockIfTimeoutOrResetTimeout(this, () -> {
|
||||
// Open a group in a new fragment
|
||||
ListNodesFragment newListNodeFragment = ListNodesFragment.newInstance(group, getReadOnly(), isASearch);
|
||||
FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
|
||||
|
||||
Reference in new issue
Block a user