From: Damyan Ivanov Date: Wed, 20 May 2020 20:51:03 +0000 (+0300) Subject: remove another redundant call to setupProfileColors() X-Git-Tag: v0.14.0~64 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=5e1dd65e12ff7a6c7dc3fece1238459dd0fc3efe;p=mobile-ledger.git remove another redundant call to setupProfileColors() --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java index 6d2fff0b..f4d482a5 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java @@ -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();