mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 17:08:34 +03:00
Merge pull request #1824 from nextcloud/bugix/noid/fix-ktlint-errors
Fix klint errors
This commit is contained in:
commit
3af4f368cb
1 changed files with 5 additions and 3 deletions
|
@ -111,15 +111,17 @@ class ServerSelectionController : NewBaseController(R.layout.controller_server_s
|
|||
binding.helperTextView.visibility = View.INVISIBLE
|
||||
} else {
|
||||
if (
|
||||
(TextUtils.isEmpty(resources!!.getString(R.string.nc_import_account_type)) ||
|
||||
findAccounts(userUtils.users as List<UserEntity>).isEmpty()
|
||||
(
|
||||
TextUtils.isEmpty(resources!!.getString(R.string.nc_import_account_type)) ||
|
||||
findAccounts(userUtils.users as List<UserEntity>).isEmpty()
|
||||
) &&
|
||||
userUtils.users.size == 0
|
||||
) {
|
||||
binding.helperTextView.setText(R.string.nc_get_from_provider)
|
||||
binding.helperTextView.setOnClickListener {
|
||||
val browserIntent = Intent(
|
||||
Intent.ACTION_VIEW, Uri.parse(
|
||||
Intent.ACTION_VIEW,
|
||||
Uri.parse(
|
||||
resources!!
|
||||
.getString(R.string.nc_providers_url)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue