1
0
Fork 0
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:
Felix Ableitner 2015-11-15 20:58:57 +01:00
parent bb886e9b72
commit 5239e57d5c

View file

@ -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));
} }
} }