summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-11-29 23:50:33 +0100
committercyberta <cyberta@riseup.net>2022-11-30 14:24:46 +0100
commitdb8f7e31a3365409543c57b1f8c0c4796be2478d (patch)
tree4228bbea5e4d59f0240224a6b454827fef13c9ef
parent87852092da522ccfe5feee29b43b92b72eca8d45 (diff)
avoid resource not found exception by initializing actionBarTextColor with default value
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/MainActivity.java2
1 files changed, 1 insertions, 1 deletions
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.