Disable accept button in AddAccountPage

This commit is contained in:
huangyuhui
2018-03-09 16:45:12 +08:00
parent e8cf9644eb
commit 03383510ef
3 changed files with 10 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ public class OfflineAccountFactory extends AccountFactory<OfflineAccount> {
.orElseThrow(() -> new IllegalStateException("Offline account configuration malformed."));
String uuid = Lang.get(storage, "uuid", String.class)
.orElse(getUUIDFromUserName(username));
// Check if the uuid is vaild
UUIDTypeAdapter.fromString(uuid);