1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-26 12:51:28 +00:00

Fix UI glitch - folder type explanation not updating (fixes #53) (#54)

This commit is contained in:
Catfriend1 2018-09-15 20:37:56 +02:00 committed by Audrius Butkevicius
parent 55915d7956
commit 37c4574eca

View file

@ -577,6 +577,7 @@ public class FolderActivity extends SyncthingActivity
* or enabled root mode thus having write access.
*/
mFolder.type = Constants.FOLDER_TYPE_SEND_RECEIVE;
updateFolderTypeDescription();
}
} else {
// Force "sendonly" folder.
@ -584,6 +585,7 @@ public class FolderActivity extends SyncthingActivity
mFolderTypeView.setEnabled(false);
mEditIgnores.setEnabled(false);
mFolder.type = Constants.FOLDER_TYPE_SEND_ONLY;
updateFolderTypeDescription();
}
}