mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
hide add account if multi account is disabled
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
1b9aadf0a1
commit
add0c1acc1
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue