diff --git a/app/src/main/java/com/nextcloud/ui/ChooseAccountDialogFragment.kt b/app/src/main/java/com/nextcloud/ui/ChooseAccountDialogFragment.kt index 0a19aa8c90..d7aacb3067 100644 --- a/app/src/main/java/com/nextcloud/ui/ChooseAccountDialogFragment.kt +++ b/app/src/main/java/com/nextcloud/ui/ChooseAccountDialogFragment.kt @@ -130,6 +130,11 @@ class ChooseAccountDialogFragment : viewThemeUtils ) + // hide "add account" when no multi account + if (!resources.getBoolean(R.bool.multiaccount_support)) { + binding.addAccount.visibility = View.GONE + } + binding.accountsList.adapter = adapter // Creating listeners for quick-actions