mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-06 14:27:24 +00:00
ProfileController: fix non-exhaustive when
Crashes Kotlin 1.7.0 Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
This commit is contained in:
parent
58febdd682
commit
49d2f40e3f
@ -769,6 +769,9 @@ class ProfileController : NewBaseController(R.layout.controller_profile) {
|
||||
Scope.LOCAL -> holder.binding.scope.setImageResource(R.drawable.ic_password)
|
||||
Scope.FEDERATED -> holder.binding.scope.setImageResource(R.drawable.ic_contacts)
|
||||
Scope.PUBLISHED -> holder.binding.scope.setImageResource(R.drawable.ic_link)
|
||||
null -> {
|
||||
// nothing
|
||||
}
|
||||
}
|
||||
holder.binding.scope.contentDescription = controller.activity!!.resources.getString(
|
||||
R.string.scope_toggle_description,
|
||||
|
Loading…
Reference in New Issue
Block a user