mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-20 17:11:32 -08:00
Consume icon added
This commit is contained in:
1 parent
6a77adc313
commit
9cc1764a18
1 file changed
+2
@@ -52,6 +52,7 @@ class IconCustomFragment : IconFragment<IconImageCustom>() {
|
||||
if (!iconCustomAdded.error) {
|
||||
iconCustomAdded?.iconCustom?.let { icon ->
|
||||
iconPickerAdapter.addIcon(icon)
|
||||
iconCustomAdded.iconCustom = null
|
||||
}
|
||||
iconsGridView.smoothScrollToPosition(iconPickerAdapter.lastPosition)
|
||||
}
|
||||
@@ -60,6 +61,7 @@ class IconCustomFragment : IconFragment<IconImageCustom>() {
|
||||
if (!iconCustomRemoved.error) {
|
||||
iconCustomRemoved?.iconCustom?.let { icon ->
|
||||
iconPickerAdapter.removeIcon(icon)
|
||||
iconCustomRemoved.iconCustom = null
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user