Fix compilation issues.
This commit is contained in:
parent
57e45aa834
commit
351f058f06
2 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ fun IdentityChangeStateView(
|
||||||
addLink(
|
addLink(
|
||||||
url = LinkAnnotation.Url(
|
url = LinkAnnotation.Url(
|
||||||
url = LearnMoreConfig.IDENTITY_CHANGE_URL,
|
url = LearnMoreConfig.IDENTITY_CHANGE_URL,
|
||||||
linkInteractionListener = { t ->
|
linkInteractionListener = {
|
||||||
onLinkClick(LearnMoreConfig.IDENTITY_CHANGE_URL)
|
onLinkClick(LearnMoreConfig.IDENTITY_CHANGE_URL)
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,7 @@ internal class RustEncryptionService(
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun pinUserIdentity(userId: UserId): Result<Unit> = runCatching {
|
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()
|
userIdentity.pin()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue