Improved account/identity fragment, fixed crash

This commit is contained in:
M66B
2018-08-28 06:32:07 +00:00
parent 8df4beb703
commit e4908243f3
3 changed files with 48 additions and 42 deletions

View File

@@ -98,6 +98,12 @@ public class Provider {
return result;
}
public int getAuthType() {
if ("com.google".equals(type))
return Helper.AUTH_TYPE_GMAIL;
return Helper.AUTH_TYPE_PASSWORD;
}
@Override
public String toString() {
return name;