Replace the FAB with a FAB menu and allow manually entering OTP details

This commit is contained in:
Alexander Bakker 2017-12-30 00:26:16 +01:00
parent 3a396fe3f6
commit 44139de212
11 changed files with 152 additions and 51 deletions

View file

@ -13,6 +13,10 @@ public class KeyProfile implements Serializable {
private String _code;
private DatabaseEntry _entry;
public KeyProfile() {
this(new DatabaseEntry());
}
public KeyProfile(DatabaseEntry entry) {
_entry = entry;
}
@ -35,7 +39,7 @@ public class KeyProfile implements Serializable {
public TextDrawable getDrawable() {
String name = _entry.getName();
if (name == null) {
if (name == null || name.length() <= 1) {
return null;
}