summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-10-25 22:56:53 +0200
committercyBerta <cyberta@riseup.net>2023-10-25 22:56:53 +0200
commit2eb98255755f8aff09dd8ab0858072a2037087d0 (patch)
tree75fb8da95e59c6068e8b617df16c213e599ec4da /app
parent8940bf064378457979e3e49f168d45fa6ed7d5b6 (diff)
tint action bar toggle in GatewaySelectionFragment
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/base/fragments/GatewaySelectionFragment.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/base/fragments/GatewaySelectionFragment.java b/app/src/main/java/se/leap/bitmaskclient/base/fragments/GatewaySelectionFragment.java
index dc7f64e1..99b1ac39 100644
--- a/app/src/main/java/se/leap/bitmaskclient/base/fragments/GatewaySelectionFragment.java
+++ b/app/src/main/java/se/leap/bitmaskclient/base/fragments/GatewaySelectionFragment.java
@@ -39,6 +39,7 @@ import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.AppCompatTextView;
+import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
@@ -105,6 +106,10 @@ public class GatewaySelectionFragment extends Fragment implements Observer, Loca
initRecommendedLocationEntry();
initBridgesHint(view);
setActionBarSubtitle(this, R.string.gateway_selection_title);
+ Activity activity = getActivity();
+ if (activity != null) {
+ ((MainActivity) activity).setActionBarToggleColor(ContextCompat.getColor(activity, R.color.colorActionBarTitleFont));
+ }
}
@Override