mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-09 15:42:10 +00:00
Fix klint errors
Signed-off-by: Tim Krüger <t@timkrueger.me>
This commit is contained in:
parent
d2add97bca
commit
964367189f
@ -111,7 +111,8 @@ class ServerSelectionController : NewBaseController(R.layout.controller_server_s
|
|||||||
binding.helperTextView.visibility = View.INVISIBLE
|
binding.helperTextView.visibility = View.INVISIBLE
|
||||||
} else {
|
} else {
|
||||||
if (
|
if (
|
||||||
(TextUtils.isEmpty(resources!!.getString(R.string.nc_import_account_type)) ||
|
(
|
||||||
|
TextUtils.isEmpty(resources!!.getString(R.string.nc_import_account_type)) ||
|
||||||
findAccounts(userUtils.users as List<UserEntity>).isEmpty()
|
findAccounts(userUtils.users as List<UserEntity>).isEmpty()
|
||||||
) &&
|
) &&
|
||||||
userUtils.users.size == 0
|
userUtils.users.size == 0
|
||||||
@ -119,7 +120,8 @@ class ServerSelectionController : NewBaseController(R.layout.controller_server_s
|
|||||||
binding.helperTextView.setText(R.string.nc_get_from_provider)
|
binding.helperTextView.setText(R.string.nc_get_from_provider)
|
||||||
binding.helperTextView.setOnClickListener {
|
binding.helperTextView.setOnClickListener {
|
||||||
val browserIntent = Intent(
|
val browserIntent = Intent(
|
||||||
Intent.ACTION_VIEW, Uri.parse(
|
Intent.ACTION_VIEW,
|
||||||
|
Uri.parse(
|
||||||
resources!!
|
resources!!
|
||||||
.getString(R.string.nc_providers_url)
|
.getString(R.string.nc_providers_url)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user