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

Commit dad55730 authored by Doris Ling's avatar Doris Ling
Browse files

Fix Network details title not being translated.

- use the title resource id instead of the actual string in the launch
intent so that it can react to language change.

Change-Id: I424dc026a9298d12627c05f97f27e9d4cba5a341
Fixes: 77896130
Test: run i18nscreenshots
parent dbe38b09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -912,7 +912,7 @@ public class WifiSettings extends RestrictedSettingsFragment

    private void launchNetworkDetailsFragment(ConnectedAccessPointPreference pref) {
        new SubSettingLauncher(getContext())
                .setTitle(getContext().getString(R.string.pref_title_network_details))
                .setTitle(R.string.pref_title_network_details)
                .setDestination(WifiNetworkDetailsFragment.class.getName())
                .setArguments(pref.getExtras())
                .setSourceMetricsCategory(getMetricsCategory())