1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-09 03:31:46 +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 GitHub
parent 23c9663023
commit 6e3899f7e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -580,6 +580,7 @@ public class FolderActivity extends SyncthingActivity
* or enabled root mode thus having write access.
*/
mFolder.type = Constants.FOLDER_TYPE_SEND_RECEIVE;
updateFolderTypeDescription();
} else {
mEditIgnoreListTitle.setEnabled(true);
mEditIgnoreListContent.setEnabled(true);
@ -591,6 +592,7 @@ public class FolderActivity extends SyncthingActivity
mEditIgnoreListTitle.setEnabled(false);
mEditIgnoreListContent.setEnabled(false);
mFolder.type = Constants.FOLDER_TYPE_SEND_ONLY;
updateFolderTypeDescription();
}
}