mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-30 08:11:17 +00:00
Fixed infinite loop when changing folder settings.
This commit is contained in:
parent
52491e192d
commit
60d01aea89
1 changed files with 5 additions and 0 deletions
|
@ -252,6 +252,11 @@ public class FolderFragment extends Fragment
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateViewsAndSetListeners() {
|
private void updateViewsAndSetListeners() {
|
||||||
|
mIdView.removeTextChangedListener(mIdTextWatcher);
|
||||||
|
mPathView.removeTextChangedListener(mPathTextWatcher);
|
||||||
|
mFolderMasterView.setOnCheckedChangeListener(null);
|
||||||
|
mKeepVersionsDialogFragment.setOnValueChangeListener(null);
|
||||||
|
|
||||||
// Update views
|
// Update views
|
||||||
mIdView.setText(mFolder.id);
|
mIdView.setText(mFolder.id);
|
||||||
mPathView.setText(mFolder.path);
|
mPathView.setText(mFolder.path);
|
||||||
|
|
Loading…
Reference in a new issue