From 5e1dd65e12ff7a6c7dc3fece1238459dd0fc3efe Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 20 May 2020 23:51:03 +0300 Subject: [PATCH] remove another redundant call to setupProfileColors() --- .../mobileledger/ui/activity/ProfileThemedActivity.java | 6 ------ 1 file changed, 6 deletions(-) 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(); -- 2.39.5