Improved local hosts settings
This commit is contained in:
parent
9823ab39ea
commit
b7e5f23a7d
@ -122,6 +122,8 @@ public class SettingsFragment extends PreferenceFragment {
|
|||||||
@Override
|
@Override
|
||||||
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
|
||||||
view = super.onCreateView(inflater, container, savedInstanceState);
|
view = super.onCreateView(inflater, container, savedInstanceState);
|
||||||
|
SwitchPreference localHostResolution = (SwitchPreference) findPreference("settings_local_host_resolution");
|
||||||
|
localHostResolution.setSummary(Daedalus.hostsPath);
|
||||||
return view;
|
return view;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
android:enabled="false"/>
|
android:enabled="false"/>
|
||||||
<SwitchPreference
|
<SwitchPreference
|
||||||
android:key="settings_local_host_resolve"
|
android:key="settings_local_host_resolution"
|
||||||
android:title="@string/settings_local_hosts_resolve"
|
android:title="@string/settings_local_hosts_resolve"
|
||||||
android:defaultValue="false"
|
android:defaultValue="false"
|
||||||
android:enabled="false"/>
|
android:enabled="false"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user