mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 14:02:49 +00:00
Replace the FAB with a FAB menu and allow manually entering OTP details
This commit is contained in:
parent
3a396fe3f6
commit
44139de212
11 changed files with 152 additions and 51 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue