diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ProfileController.kt b/app/src/main/java/com/nextcloud/talk/controllers/ProfileController.kt index fa604250e..b7f1cf363 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ProfileController.kt +++ b/app/src/main/java/com/nextcloud/talk/controllers/ProfileController.kt @@ -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, diff --git a/build.gradle b/build.gradle index cedf4f449..d45a09421 100644 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,7 @@ buildscript { ext { - kotlinVersion = '1.6.21' + kotlinVersion = '1.7.0' } repositories {