mirror of
https://github.com/element-hq/element-android
synced 2024-11-23 18:05:36 +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
|
- Message transitions in encrypted rooms are jarring #518
|
||||||
- Images that failed to send are waiting to be sent forever #1145
|
- 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 / Crashed when trying to send a gif from the Gboard #1136
|
||||||
|
- Fix / Cannot click on key backup banner when new keys are available
|
||||||
|
|
||||||
Translations 🗣:
|
Translations 🗣:
|
||||||
-
|
-
|
||||||
|
|
|
@ -123,6 +123,7 @@ class KeysBackupBanner @JvmOverloads constructor(
|
||||||
is State.Setup -> {
|
is State.Setup -> {
|
||||||
delegate?.setupKeysBackup()
|
delegate?.setupKeysBackup()
|
||||||
}
|
}
|
||||||
|
is State.Update,
|
||||||
is State.Recover -> {
|
is State.Recover -> {
|
||||||
delegate?.recoverKeysBackup()
|
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.resources.StringProvider
|
||||||
import im.vector.riotx.core.ui.list.GenericItem
|
import im.vector.riotx.core.ui.list.GenericItem
|
||||||
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 java.util.UUID
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
class KeysBackupSettingsRecyclerViewController @Inject constructor(private val stringProvider: StringProvider,
|
class KeysBackupSettingsRecyclerViewController @Inject constructor(private val stringProvider: StringProvider,
|
||||||
|
private val vectorPreferences: VectorPreferences,
|
||||||
private val session: Session) : TypedEpoxyController<KeysBackupSettingViewState>() {
|
private val session: Session) : TypedEpoxyController<KeysBackupSettingViewState>() {
|
||||||
|
|
||||||
var listener: Listener? = null
|
var listener: Listener? = null
|
||||||
|
@ -149,7 +151,9 @@ class KeysBackupSettingsRecyclerViewController @Inject constructor(private val s
|
||||||
description(keyVersionResult?.algorithm ?: "")
|
description(keyVersionResult?.algorithm ?: "")
|
||||||
}
|
}
|
||||||
|
|
||||||
buildKeysBackupTrust(data.keysBackupVersionTrust)
|
if (vectorPreferences.developerMode()) {
|
||||||
|
buildKeysBackupTrust(data.keysBackupVersionTrust)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Footer
|
// Footer
|
||||||
|
|
Loading…
Reference in a new issue