mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-23 08:10:15 +01:00
Room Profile / Just show e2e status remove learn more
This commit is contained in:
parent
fc4f5faffd
commit
64df9e23c2
@ -23,6 +23,7 @@ import im.vector.riotx.core.epoxy.profiles.buildProfileAction
|
|||||||
import im.vector.riotx.core.epoxy.profiles.buildProfileSection
|
import im.vector.riotx.core.epoxy.profiles.buildProfileSection
|
||||||
import im.vector.riotx.core.resources.ColorProvider
|
import im.vector.riotx.core.resources.ColorProvider
|
||||||
import im.vector.riotx.core.resources.StringProvider
|
import im.vector.riotx.core.resources.StringProvider
|
||||||
|
import im.vector.riotx.core.ui.list.genericFooterItem
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
class RoomProfileController @Inject constructor(
|
class RoomProfileController @Inject constructor(
|
||||||
@ -55,13 +56,11 @@ class RoomProfileController @Inject constructor(
|
|||||||
} else {
|
} else {
|
||||||
R.string.room_profile_not_encrypted_subtitle
|
R.string.room_profile_not_encrypted_subtitle
|
||||||
}
|
}
|
||||||
buildProfileAction(
|
genericFooterItem {
|
||||||
id = "learn_more",
|
id("e2e info")
|
||||||
title = stringProvider.getString(R.string.room_profile_section_security_learn_more),
|
centered(false)
|
||||||
dividerColor = dividerColor,
|
text(stringProvider.getString(learnMoreSubtitle))
|
||||||
subtitle = stringProvider.getString(learnMoreSubtitle),
|
}
|
||||||
action = { callback?.onLearnMoreClicked() }
|
|
||||||
)
|
|
||||||
|
|
||||||
// More
|
// More
|
||||||
buildProfileSection(stringProvider.getString(R.string.room_profile_section_more))
|
buildProfileSection(stringProvider.getString(R.string.room_profile_section_more))
|
||||||
|
Loading…
Reference in New Issue
Block a user