Skip to content

Commit

Permalink
hide add account if multi account is disabled
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <[email protected]>
  • Loading branch information
tobiasKaminsky committed Sep 8, 2023
1 parent 1b9aadf commit add0c1a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit add0c1a

Please sign in to comment.