Fix compilation issues.
This commit is contained in:
parent
5baefd479f
commit
bc62f8cfce
2 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ fun IdentityChangeStateView(
|
|||
addLink(
|
||||
url = LinkAnnotation.Url(
|
||||
url = LearnMoreConfig.IDENTITY_CHANGE_URL,
|
||||
linkInteractionListener = { t ->
|
||||
linkInteractionListener = {
|
||||
onLinkClick(LearnMoreConfig.IDENTITY_CHANGE_URL)
|
||||
}
|
||||
),
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ internal class RustEncryptionService(
|
|||
}
|
||||
|
||||
override suspend fun pinUserIdentity(userId: UserId): Result<Unit> = runCatching {
|
||||
val userIdentity = service.getUserIdentity(userId.value)
|
||||
val userIdentity = service.getUserIdentity(userId.value) ?: throw IllegalStateException("User identity not found")
|
||||
userIdentity.pin()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue