Default group icon for a new entry #293

This commit is contained in:
J-Jamet
2020-05-25 19:36:36 +02:00
parent 568bbf9126
commit de8738aa03
4 changed files with 8 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
KeePassDX(2.6)
* Share a web domain to automatically search for an entry
* Default group icon for a new entry
* Better autofill recognition
* Fix entry not visually deleted in search
* Fix hanged loading dialog

View File

@@ -166,9 +166,11 @@ class EntryEditActivity : LockingActivity(),
mNewEntry = mDatabase?.createEntry()
}
mParent = mDatabase?.getGroupById(it)
// Add the default icon
mDatabase?.drawFactory?.let { iconFactory ->
entryEditContentsView?.setDefaultIcon(iconFactory)
// Add the default icon from parent
mParent?.icon?.let { parentIcon ->
temporarilySaveAndShowSelectedIcon(parentIcon)
} ?: mDatabase?.drawFactory?.let { iconFactory ->
entryEditContentsView?.setDefaultIcon(iconFactory)
}
}

View File

@@ -1,4 +1,5 @@
* Share a web domain to automatically search for an entry
* Default group icon for a new entry
* Better autofill recognition
* Fix entry not visually deleted in search
* Fix hanged loading dialog

View File

@@ -1,4 +1,5 @@
* Partagez un domaine Web pour rechercher automatiquement une entrée
* Icône de groupe par défaut pour une nouvelle entrée
 * Meilleure reconnaissance de remplissage automatique
* Correction de l'entrée non supprimée visuellement dans la recherche
 * Correction du dialogue de chargement bloqué