remove footers outside of section cards

This commit is contained in:
Evgeny @ SimpleX Chat
2026-05-20 07:01:56 +00:00
parent 43d67660c7
commit 72abdb728a
4 changed files with 8 additions and 8 deletions
@@ -613,8 +613,8 @@ fun ChatInfoLayout(
SectionView(card = true) {
ChatTTLOption(chatItemTTL, setChatItemTTL, deletingItems)
SectionTextFooter(stringResource(MR.strings.chat_ttl_options_footer))
}
SectionTextFooter(stringResource(MR.strings.chat_ttl_options_footer))
SectionSpacer()
val conn = contact.activeConn
@@ -630,8 +630,8 @@ fun ChatInfoLayout(
SimpleXLinkQRCode(contact.contactLink)
val clipboard = LocalClipboardManager.current
ShareAddressButton { clipboard.shareText(simplexChatLink(contact.contactLink)) }
SectionTextFooter(stringResource(MR.strings.you_can_share_this_address_with_your_contacts).format(contact.displayName))
}
SectionTextFooter(stringResource(MR.strings.you_can_share_this_address_with_your_contacts).format(contact.displayName))
SectionSpacer()
}
@@ -698,8 +698,8 @@ fun ModalData.GroupChatInfoLayout(
}
}
ChatTTLOption(chatItemTTL, setChatItemTTL, deletingItems)
SectionTextFooter(stringResource(MR.strings.chat_ttl_options_footer))
}
SectionTextFooter(stringResource(MR.strings.chat_ttl_options_footer))
SectionSpacer()
if (!groupInfo.nextConnectPrepared && !groupInfo.useRelays) {
@@ -577,8 +577,8 @@ fun GroupMemberInfoLayout(
} else {
ConnectViaAddressButton(onClick = { connectViaAddress(member.contactLink) })
}
SectionTextFooter(stringResource(MR.strings.you_can_share_this_address_with_your_contacts).format(member.displayName))
}
SectionTextFooter(stringResource(MR.strings.you_can_share_this_address_with_your_contacts).format(member.displayName))
SectionSpacer()
}
@@ -32,11 +32,11 @@ fun DeveloperView(withAuth: (title: String, desc: String, block: () -> Unit) ->
ChatConsoleItem { withAuth(generalGetString(MR.strings.auth_open_chat_console), generalGetString(MR.strings.auth_log_in_using_credential)) { ModalManager.start.showModalCloseable { TerminalView(false) } } }
ResetHintsItem(unchangedHints)
SettingsPreferenceItem(painterResource(MR.images.ic_code), stringResource(MR.strings.show_developer_options), developerTools)
SectionTextFooter(
generalGetString(if (devTools.value) MR.strings.show_dev_options else MR.strings.hide_dev_options) + " " +
generalGetString(MR.strings.developer_options)
)
}
SectionTextFooter(
generalGetString(if (devTools.value) MR.strings.show_dev_options else MR.strings.hide_dev_options) + " " +
generalGetString(MR.strings.developer_options)
)
if (devTools.value) {
SectionSpacer()
SectionView(stringResource(MR.strings.developer_options_section), card = true) {