From db8f7e31a3365409543c57b1f8c0c4796be2478d Mon Sep 17 00:00:00 2001 From: cyberta Date: Tue, 29 Nov 2022 23:50:33 +0100 Subject: avoid resource not found exception by initializing actionBarTextColor with default value --- app/src/main/java/se/leap/bitmaskclient/base/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main') diff --git a/app/src/main/java/se/leap/bitmaskclient/base/MainActivity.java b/app/src/main/java/se/leap/bitmaskclient/base/MainActivity.java index 3b200fd1..28b981be 100644 --- a/app/src/main/java/se/leap/bitmaskclient/base/MainActivity.java +++ b/app/src/main/java/se/leap/bitmaskclient/base/MainActivity.java @@ -103,7 +103,7 @@ public class MainActivity extends AppCompatActivity implements EipSetupListener, public final static String ACTION_SHOW_DIALOG_FRAGMENT = "action_show_dialog_fragment"; public final static String ACTION_SHOW_MOTD_FRAGMENT = "action_show_motd_fragment"; - private @ColorRes int actionBarTextColor; + private @ColorRes int actionBarTextColor = R.color.colorActionBarTitleFont; /** * Fragment managing the behaviors, interactions and presentation of the navigation drawer. -- cgit v1.2.3