Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ed25893 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "SystemUI: Hide the mobile settings icon in guest mode" into main am: 72ea9148

parents dfa3845a 72ea9148
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -565,8 +565,10 @@ public class InternetDialogDelegate implements
                }
                mSecondaryMobileNetworkLayout = mDialogView.findViewById(
                        R.id.secondary_mobile_network_layout);
                if (mCanConfigMobileData) {
                    mSecondaryMobileNetworkLayout.setOnClickListener(
                            this::onClickConnectedSecondarySub);
                }
                mSecondaryMobileNetworkLayout.setBackground(mBackgroundOn);

                TextView mSecondaryMobileTitleText = mDialogView.requireViewById(
@@ -599,7 +601,8 @@ public class InternetDialogDelegate implements
                        mDialogView.requireViewById(R.id.secondary_settings_icon);
                mSecondaryMobileSettingsIcon.setColorFilter(
                        dialog.getContext().getColor(R.color.connected_network_primary_color));

                mSecondaryMobileSettingsIcon.setVisibility(mCanConfigMobileData ?
                        View.VISIBLE : View.INVISIBLE);
                // set secondary visual for default data sub
                mMobileNetworkLayout.setBackground(mBackgroundOff);
                mMobileTitleText.setTextAppearance(R.style.TextAppearance_InternetDialog);