mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
hide delete button for non-custom folders
This commit is contained in:
parent
78cdab05ac
commit
5b1a8305ed
1 changed files with 1 additions and 0 deletions
|
@ -140,6 +140,7 @@ public class SyncedFolderPreferencesDialogFragment extends DialogFragment {
|
|||
|
||||
if (mSyncedFolder.getType() > MediaFolder.CUSTOM) {
|
||||
view.findViewById(R.id.local_folder_container).setVisibility(View.GONE);
|
||||
view.findViewById(R.id.delete).setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
// find/saves UI elements
|
||||
|
|
Loading…
Reference in a new issue