mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
fix detekt issues
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
9bdd0c7a4e
commit
e7c258e2f8
@ -277,8 +277,7 @@ class AccountVerificationController(args: Bundle? = null) :
|
|||||||
} else {
|
} else {
|
||||||
activity!!.runOnUiThread {
|
activity!!.runOnUiThread {
|
||||||
binding.progressText.text =
|
binding.progressText.text =
|
||||||
"""
|
""" ${binding.progressText.text}
|
||||||
${binding.progressText.text}
|
|
||||||
${resources!!.getString(R.string.nc_push_disabled)}
|
${resources!!.getString(R.string.nc_push_disabled)}
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
}
|
}
|
||||||
@ -289,10 +288,9 @@ class AccountVerificationController(args: Bundle? = null) :
|
|||||||
@SuppressLint("SetTextI18n")
|
@SuppressLint("SetTextI18n")
|
||||||
override fun onError(e: Throwable) {
|
override fun onError(e: Throwable) {
|
||||||
binding.progressText.text =
|
binding.progressText.text =
|
||||||
|
""" ${binding.progressText.text}
|
||||||
"""
|
"""
|
||||||
${binding.progressText.text}
|
.trimIndent() + resources!!.getString(R.string.nc_display_name_not_stored)
|
||||||
""".trimIndent() +
|
|
||||||
resources!!.getString(R.string.nc_display_name_not_stored)
|
|
||||||
abortVerification()
|
abortVerification()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,8 +31,6 @@ import com.nextcloud.talk.models.json.push.PushConfigurationState
|
|||||||
import com.nextcloud.talk.utils.database.user.CurrentUserProviderNew
|
import com.nextcloud.talk.utils.database.user.CurrentUserProviderNew
|
||||||
import io.reactivex.Maybe
|
import io.reactivex.Maybe
|
||||||
import io.reactivex.Single
|
import io.reactivex.Single
|
||||||
import java.lang.Boolean.FALSE
|
|
||||||
import java.lang.Boolean.TRUE
|
|
||||||
|
|
||||||
@Suppress("TooManyFunctions")
|
@Suppress("TooManyFunctions")
|
||||||
class UserManager internal constructor(private val userRepository: UsersRepository) : CurrentUserProviderNew {
|
class UserManager internal constructor(private val userRepository: UsersRepository) : CurrentUserProviderNew {
|
||||||
|
Loading…
Reference in New Issue
Block a user