mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix collapse animation
This commit is contained in:
@@ -272,7 +272,9 @@ class EntryEditContentsView @JvmOverloads constructor(context: Context,
|
|||||||
applyFontVisibility(fontInVisibility)
|
applyFontVisibility(fontInVisibility)
|
||||||
onViewDeletedListener = {
|
onViewDeletedListener = {
|
||||||
// remove callback
|
// remove callback
|
||||||
showOrHideExtraFieldsContainer(entryExtraFieldsContainer.childCount <= 1, true)
|
if (entryExtraFieldsContainer.childCount <= 1) {
|
||||||
|
showOrHideExtraFieldsContainer(hide = true, animate = true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user