From 37c4574eca40ed05dc1a776acdb24f014584bb56 Mon Sep 17 00:00:00 2001 From: Catfriend1 Date: Sat, 15 Sep 2018 20:37:56 +0200 Subject: [PATCH] Fix UI glitch - folder type explanation not updating (fixes #53) (#54) --- .../com/nutomic/syncthingandroid/activities/FolderActivity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/com/nutomic/syncthingandroid/activities/FolderActivity.java b/app/src/main/java/com/nutomic/syncthingandroid/activities/FolderActivity.java index 1c1ca5ed..00b19970 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/activities/FolderActivity.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/activities/FolderActivity.java @@ -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(); } }