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 6d2fff0..f4d482a 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();