mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-25 10:42:17 -05:00
bug fix: allow to switch from custom icon to biult-in icon for groups
This commit is contained in:
parent
1c7535c8ed
commit
bf08f19378
@ -148,6 +148,8 @@ namespace keepass2android
|
||||
String customIconIdString = data.Extras.GetString(IconPickerActivity.KeyCustomIconId);
|
||||
if (!String.IsNullOrEmpty(customIconIdString))
|
||||
_selectedCustomIconId = new PwUuid(MemUtil.HexStringToByteArray(customIconIdString));
|
||||
else
|
||||
_selectedCustomIconId = PwUuid.Zero;
|
||||
|
||||
ImageButton currIconButton = (ImageButton) FindViewById(Resource.Id.icon_button);
|
||||
App.Kp2a.GetDb().DrawableFactory.AssignDrawableTo(currIconButton, this, App.Kp2a.GetDb().KpDatabase, (PwIcon) _selectedIconId, _selectedCustomIconId, false);
|
||||
|
Loading…
Reference in New Issue
Block a user