From 6e3899f7e0c1f9acd097e503af1e2662e39e5a43 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 1865ca0f..5d230b6e 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/activities/FolderActivity.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/activities/FolderActivity.java @@ -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(); } }