mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
Fix / post merge issues
This commit is contained in:
parent
188cd6beff
commit
e45c1e6c2a
6 changed files with 18 additions and 11 deletions
|
@ -1,5 +1,6 @@
|
|||
<component name="ProjectCodeStyleConfiguration">
|
||||
<state>
|
||||
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
|
||||
<option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
|
||||
</state>
|
||||
</component>
|
|
@ -18,7 +18,7 @@ package im.vector.riotx.features.crypto.verification.choose
|
|||
|
||||
import com.airbnb.epoxy.EpoxyController
|
||||
import im.vector.riotx.R
|
||||
import im.vector.riotx.core.epoxy.bottomsheet.bottomSheetSeparatorItem
|
||||
import im.vector.riotx.core.epoxy.dividerItem
|
||||
import im.vector.riotx.core.resources.ColorProvider
|
||||
import im.vector.riotx.core.resources.StringProvider
|
||||
import im.vector.riotx.features.crypto.verification.epoxy.bottomSheetVerificationActionItem
|
||||
|
@ -55,7 +55,7 @@ class VerificationChooseMethodController @Inject constructor(
|
|||
imageRes(R.drawable.riotx_logo)
|
||||
}
|
||||
|
||||
bottomSheetSeparatorItem {
|
||||
dividerItem {
|
||||
id("sep0")
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@ class VerificationChooseMethodController @Inject constructor(
|
|||
listener { listener?.openCamera() }
|
||||
}
|
||||
|
||||
bottomSheetSeparatorItem {
|
||||
dividerItem {
|
||||
id("sep1")
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ package im.vector.riotx.features.crypto.verification.conclusion
|
|||
|
||||
import com.airbnb.epoxy.EpoxyController
|
||||
import im.vector.riotx.R
|
||||
import im.vector.riotx.core.epoxy.bottomsheet.bottomSheetSeparatorItem
|
||||
import im.vector.riotx.core.epoxy.dividerItem
|
||||
import im.vector.riotx.core.resources.ColorProvider
|
||||
import im.vector.riotx.core.resources.StringProvider
|
||||
import im.vector.riotx.features.crypto.verification.epoxy.bottomSheetVerificationActionItem
|
||||
|
@ -76,7 +76,7 @@ class VerificationConclusionController @Inject constructor(
|
|||
else -> Unit
|
||||
}
|
||||
|
||||
bottomSheetSeparatorItem {
|
||||
dividerItem {
|
||||
id("sep0")
|
||||
}
|
||||
|
||||
|
|
|
@ -20,12 +20,16 @@ import com.airbnb.epoxy.EpoxyController
|
|||
import com.airbnb.mvrx.Fail
|
||||
import com.airbnb.mvrx.Success
|
||||
import im.vector.riotx.R
|
||||
import im.vector.riotx.core.epoxy.bottomsheet.bottomSheetSeparatorItem
|
||||
import im.vector.riotx.core.epoxy.dividerItem
|
||||
import im.vector.riotx.core.epoxy.errorWithRetryItem
|
||||
import im.vector.riotx.core.error.ErrorFormatter
|
||||
import im.vector.riotx.core.resources.ColorProvider
|
||||
import im.vector.riotx.core.resources.StringProvider
|
||||
import im.vector.riotx.features.crypto.verification.epoxy.*
|
||||
import im.vector.riotx.features.crypto.verification.epoxy.bottomSheetVerificationActionItem
|
||||
import im.vector.riotx.features.crypto.verification.epoxy.bottomSheetVerificationDecimalCodeItem
|
||||
import im.vector.riotx.features.crypto.verification.epoxy.bottomSheetVerificationEmojisItem
|
||||
import im.vector.riotx.features.crypto.verification.epoxy.bottomSheetVerificationNoticeItem
|
||||
import im.vector.riotx.features.crypto.verification.epoxy.bottomSheetVerificationWaitingItem
|
||||
import javax.inject.Inject
|
||||
|
||||
class VerificationEmojiCodeController @Inject constructor(
|
||||
|
@ -120,7 +124,7 @@ class VerificationEmojiCodeController @Inject constructor(
|
|||
}
|
||||
|
||||
private fun buildActions(state: VerificationEmojiCodeViewState) {
|
||||
bottomSheetSeparatorItem {
|
||||
dividerItem {
|
||||
id("sep0")
|
||||
}
|
||||
|
||||
|
@ -138,7 +142,7 @@ class VerificationEmojiCodeController @Inject constructor(
|
|||
iconColor(colorProvider.getColor(R.color.vector_error_color))
|
||||
listener { listener?.onDoNotMatchButtonTapped() }
|
||||
}
|
||||
bottomSheetSeparatorItem {
|
||||
dividerItem {
|
||||
id("sep1")
|
||||
}
|
||||
bottomSheetVerificationActionItem {
|
||||
|
|
|
@ -20,7 +20,7 @@ import androidx.core.text.toSpannable
|
|||
import com.airbnb.epoxy.EpoxyController
|
||||
import com.airbnb.mvrx.Loading
|
||||
import im.vector.riotx.R
|
||||
import im.vector.riotx.core.epoxy.bottomsheet.bottomSheetSeparatorItem
|
||||
import im.vector.riotx.core.epoxy.dividerItem
|
||||
import im.vector.riotx.core.resources.ColorProvider
|
||||
import im.vector.riotx.core.resources.StringProvider
|
||||
import im.vector.riotx.core.utils.colorizeMatchingText
|
||||
|
@ -57,7 +57,7 @@ class VerificationRequestController @Inject constructor(
|
|||
notice(styledText)
|
||||
}
|
||||
|
||||
bottomSheetSeparatorItem {
|
||||
dividerItem {
|
||||
id("sep")
|
||||
}
|
||||
|
||||
|
|
|
@ -54,6 +54,7 @@ import com.airbnb.epoxy.OnModelBuildFinishedListener
|
|||
import com.airbnb.mvrx.Async
|
||||
import com.airbnb.mvrx.Fail
|
||||
import com.airbnb.mvrx.Loading
|
||||
import com.airbnb.mvrx.MvRx
|
||||
import com.airbnb.mvrx.Success
|
||||
import com.airbnb.mvrx.args
|
||||
import com.airbnb.mvrx.fragmentViewModel
|
||||
|
@ -74,6 +75,7 @@ import im.vector.matrix.android.api.session.room.model.message.MessageFileConten
|
|||
import im.vector.matrix.android.api.session.room.model.message.MessageImageInfoContent
|
||||
import im.vector.matrix.android.api.session.room.model.message.MessageTextContent
|
||||
import im.vector.matrix.android.api.session.room.model.message.MessageType
|
||||
import im.vector.matrix.android.api.session.room.model.message.MessageVerificationRequestContent
|
||||
import im.vector.matrix.android.api.session.room.model.message.MessageVideoContent
|
||||
import im.vector.matrix.android.api.session.room.send.SendState
|
||||
import im.vector.matrix.android.api.session.room.timeline.Timeline
|
||||
|
|
Loading…
Reference in a new issue