mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-24 20:01:31 +00:00
Added missing preference listener (ref #493).
This commit is contained in:
parent
bb886e9b72
commit
5239e57d5c
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ public class SettingsFragment extends PreferenceFragment
|
||||||
}
|
}
|
||||||
|
|
||||||
Preference address = mGuiScreen.findPreference(ADDRESS);
|
Preference address = mGuiScreen.findPreference(ADDRESS);
|
||||||
|
address.setOnPreferenceChangeListener(this);
|
||||||
applyPreference(address, api.getValue(RestApi.TYPE_GUI, ADDRESS));
|
applyPreference(address, api.getValue(RestApi.TYPE_GUI, ADDRESS));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue