mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 01:15:54 +03:00
QuickFix / key banner not clickable
This commit is contained in:
parent
ef2783e9f4
commit
b37600f536
3 changed files with 7 additions and 1 deletions
|
@ -11,6 +11,7 @@ Bugfix 🐛:
|
|||
- Message transitions in encrypted rooms are jarring #518
|
||||
- Images that failed to send are waiting to be sent forever #1145
|
||||
- Fix / Crashed when trying to send a gif from the Gboard #1136
|
||||
- Fix / Cannot click on key backup banner when new keys are available
|
||||
|
||||
Translations 🗣:
|
||||
-
|
||||
|
|
|
@ -123,6 +123,7 @@ class KeysBackupBanner @JvmOverloads constructor(
|
|||
is State.Setup -> {
|
||||
delegate?.setupKeysBackup()
|
||||
}
|
||||
is State.Update,
|
||||
is State.Recover -> {
|
||||
delegate?.recoverKeysBackup()
|
||||
}
|
||||
|
|
|
@ -31,10 +31,12 @@ import im.vector.riotx.core.epoxy.loadingItem
|
|||
import im.vector.riotx.core.resources.StringProvider
|
||||
import im.vector.riotx.core.ui.list.GenericItem
|
||||
import im.vector.riotx.core.ui.list.genericItem
|
||||
import im.vector.riotx.features.settings.VectorPreferences
|
||||
import java.util.UUID
|
||||
import javax.inject.Inject
|
||||
|
||||
class KeysBackupSettingsRecyclerViewController @Inject constructor(private val stringProvider: StringProvider,
|
||||
private val vectorPreferences: VectorPreferences,
|
||||
private val session: Session) : TypedEpoxyController<KeysBackupSettingViewState>() {
|
||||
|
||||
var listener: Listener? = null
|
||||
|
@ -149,7 +151,9 @@ class KeysBackupSettingsRecyclerViewController @Inject constructor(private val s
|
|||
description(keyVersionResult?.algorithm ?: "")
|
||||
}
|
||||
|
||||
buildKeysBackupTrust(data.keysBackupVersionTrust)
|
||||
if (vectorPreferences.developerMode()) {
|
||||
buildKeysBackupTrust(data.keysBackupVersionTrust)
|
||||
}
|
||||
}
|
||||
|
||||
// Footer
|
||||
|
|
Loading…
Reference in a new issue