ServersSummaryView: wrap Message reception sections in SectionView card

SubscriptionsSectionView and SMPSubscriptionsSection both rendered their
InfoRows + control item in a plain Column without card chrome — so on
the Servers info screen the "Message reception" section title sat above
loose rows on the gray canvas (no card), inconsistent with the rest of
the screen. Wrap the inner Column in SectionView so the rows get the
raised iOS-style card look. The custom header Row (title + subscription
status indicator) stays outside the card so the icon stays inline with
the title text.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
another-simple-pixel
2026-05-16 08:30:38 -07:00
parent c7a6a281c9
commit 9d94fa2048
@@ -336,7 +336,7 @@ private fun SMPSubscriptionsSection(totals: SMPTotals) {
)
SubscriptionStatusIndicatorView(totals.subs, totals.sessions.hasSess)
}
Column(Modifier.padding(PaddingValues()).fillMaxWidth()) {
SectionView {
InfoRow(
generalGetString(MR.strings.servers_info_subscriptions_connections_subscribed),
numOrDash(totals.subs.ssActive)
@@ -366,7 +366,7 @@ private fun SMPSubscriptionsSection(subs: SMPServerSubs, summary: SMPServerSumma
)
SubscriptionStatusIndicatorView(subs, summary.sessionsOrNew.hasSess)
}
Column(Modifier.padding(PaddingValues()).fillMaxWidth()) {
SectionView {
InfoRow(
generalGetString(MR.strings.servers_info_subscriptions_connections_subscribed),
numOrDash(subs.ssActive)