]> git.ktnx.net Git - mobile-ledger.git/commitdiff
debug setupProfileColors() calls
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 6 Sep 2021 06:26:13 +0000 (06:26 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 6 Sep 2021 06:26:13 +0000 (06:26 +0000)
app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileThemedActivity.java

index 05c534676c98c4f0d93d48be3f66c5e989c6e643..dcc83460cf1f391629adede89dc81d4a257e2336 100644 (file)
@@ -83,6 +83,9 @@ public class ProfileThemedActivity extends CrashReportingActivity {
 
             if (hue != mThemeHue) {
                 storeProfilePref(profile);
+                Logger.debug(TAG,
+                        String.format(Locale.US, "profile observer calling setupProfileColors(%d)",
+                                hue));
                 setupProfileColors(hue);
             }
         });
@@ -98,6 +101,8 @@ public class ProfileThemedActivity extends CrashReportingActivity {
         if (profileId == -1)
             mThemeHue = Colors.DEFAULT_HUE_DEG;
 
+        Logger.debug(TAG,
+                String.format(Locale.US, "initProfile() calling setupProfileColors(%d)", hue));
         setupProfileColors(hue);
 
         initProfile(profileId);