]> git.ktnx.net Git - mobile-ledger.git/commitdiff
remove another redundant call to setupProfileColors()
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 20 May 2020 20:51:03 +0000 (23:51 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 20 May 2020 20:51:03 +0000 (23:51 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java

index 6d2fff0b477919503ecdfb9bf3b758c99b05a013..f4d482a5b7a93b356684115fb3f0c0c822d0c26d 100644 (file)
@@ -42,12 +42,6 @@ public class ProfileThemedActivity extends CrashReportingActivity {
         initProfile();
         setupProfileColors();
         super.onCreate(savedInstanceState);
-
-
-        Data.profile.observe(this, mobileLedgerProfile -> {
-            mProfile = mobileLedgerProfile;
-            setupProfileColors();
-        });
     }
     protected void initProfile() {
         mProfile = Data.profile.getValue();