mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-24 10:42:05 +00:00
remove footers outside of section cards
This commit is contained in:
+2
-2
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user