+
+ setupProfileColors();
+
+ Data.profile.observe(this, mobileLedgerProfile -> {
+ mProfile = mobileLedgerProfile;
+ setupProfileColors();
+ });
+ }
+ protected void initProfile() {
+ mProfile = Data.profile.getValue();
+ if (mProfile == null) {
+ String profileUUID = MLDB.getOption(MLDB.OPT_PROFILE_UUID, null);
+ MobileLedgerProfile startupProfile;
+
+
+ startupProfile = Data.getProfile(profileUUID);
+ Data.setCurrentProfile(startupProfile);
+ mProfile = startupProfile;
+ }