mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Fix compilation issues.
This commit is contained in:
+1
-1
@@ -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)
|
||||||
}
|
}
|
||||||
),
|
),
|
||||||
|
|||||||
+1
-1
@@ -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()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user