Browse Source

make locl path only choosable for custom folders on creation

AndyScherzinger 7 years ago
parent
commit
7ca9548359

+ 2 - 0
src/main/java/com/owncloud/android/ui/dialog/SyncedFolderPreferencesDialogFragment.java

@@ -158,6 +158,8 @@ public class SyncedFolderPreferencesDialogFragment extends DialogFragment {
 
             // disable save button
             view.findViewById(R.id.save).setEnabled(false);
+        } else {
+            view.findViewById(R.id.local_folder_container).setVisibility(View.GONE);
         }
 
         // find/saves UI elements