hide delete button for non-custom folders

This commit is contained in:
AndyScherzinger 2017-05-30 23:19:08 +02:00
parent 78cdab05ac
commit 5b1a8305ed
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -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