mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-05 00:02:27 -08:00
Solve visual submenu bug
This commit is contained in:
1 parent
3d6082a5d9
commit
bfcd4b9f00
3 files changed
+12
-8
No files matched your search
@@ -140,6 +140,8 @@ public class ListNodesWithAddButtonView extends RelativeLayout {
|
||||
*/
|
||||
public void enableAddEntry(boolean enable) {
|
||||
this.addEntryEnable = enable;
|
||||
if (enable && addEntry != null && addEntry.getVisibility() != VISIBLE)
|
||||
addEntry.setVisibility(INVISIBLE);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -148,6 +150,8 @@ public class ListNodesWithAddButtonView extends RelativeLayout {
|
||||
*/
|
||||
public void enableAddGroup(boolean enable) {
|
||||
this.addGroupEnable = enable;
|
||||
if (enable && addGroup != null && addGroup.getVisibility() != VISIBLE)
|
||||
addGroup.setVisibility(INVISIBLE);
|
||||
}
|
||||
|
||||
private void startGlobalAnimation() {
|
||||
|
||||
Reference in new issue
Block a user