Skip to content

Commit

Permalink
Fix UI glitch - folder type explanation not updating (fixes #53) (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Catfriend1 authored and AudriusButkevicius committed Oct 3, 2018
1 parent 55915d7 commit 37c4574
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -577,13 +577,15 @@ private void checkWriteAndUpdateUI() {
* or enabled root mode thus having write access.
*/
mFolder.type = Constants.FOLDER_TYPE_SEND_RECEIVE;
updateFolderTypeDescription();
}
} else {
// Force "sendonly" folder.
mAccessExplanationView.setText(R.string.folder_path_readonly);
mFolderTypeView.setEnabled(false);
mEditIgnores.setEnabled(false);
mFolder.type = Constants.FOLDER_TYPE_SEND_ONLY;
updateFolderTypeDescription();
}
}

Expand Down

0 comments on commit 37c4574

Please sign in to comment.