Fix / Update title before return
This commit is contained in:
parent
9fc44c11de
commit
412aed6dcb
@ -126,12 +126,6 @@ class VerificationBottomSheet : VectorBaseBottomSheetDialogFragment() {
|
|||||||
|
|
||||||
override fun invalidate() = withState(viewModel) { state ->
|
override fun invalidate() = withState(viewModel) { state ->
|
||||||
|
|
||||||
if (state.selfVerificationMode && state.verifiedFromPrivateKeys) {
|
|
||||||
showFragment(VerificationConclusionFragment::class, Bundle().apply {
|
|
||||||
putParcelable(MvRx.KEY_ARG, VerificationConclusionFragment.Args(true, null, state.isMe))
|
|
||||||
})
|
|
||||||
return@withState
|
|
||||||
}
|
|
||||||
state.otherUserMxItem?.let { matrixItem ->
|
state.otherUserMxItem?.let { matrixItem ->
|
||||||
if (state.isMe) {
|
if (state.isMe) {
|
||||||
if (state.sasTransactionState == VerificationTxState.Verified
|
if (state.sasTransactionState == VerificationTxState.Verified
|
||||||
@ -155,6 +149,13 @@ class VerificationBottomSheet : VectorBaseBottomSheetDialogFragment() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (state.selfVerificationMode && state.verifiedFromPrivateKeys) {
|
||||||
|
showFragment(VerificationConclusionFragment::class, Bundle().apply {
|
||||||
|
putParcelable(MvRx.KEY_ARG, VerificationConclusionFragment.Args(true, null, state.isMe))
|
||||||
|
})
|
||||||
|
return@withState
|
||||||
|
}
|
||||||
|
|
||||||
// Did the request result in a SAS transaction?
|
// Did the request result in a SAS transaction?
|
||||||
if (state.sasTransactionState != null) {
|
if (state.sasTransactionState != null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user