From 925bdffe35d9bcfb59d5b2a25c2302010771b34f Mon Sep 17 00:00:00 2001 From: Eric Andrews Date: Wed, 29 Jan 2025 09:21:20 -0500 Subject: [PATCH] improve small screen display --- .../InteractionBarEditorView+Views.swift | 9 +-------- .../InteractionBarEditorView.swift | 3 ++- Mlem/Localizable.xcstrings | 12 ++++++++++++ 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/Mlem/App/Views/Root/Tabs/Settings/InteractionBarEditor/InteractionBarEditorView+Views.swift b/Mlem/App/Views/Root/Tabs/Settings/InteractionBarEditor/InteractionBarEditorView+Views.swift index dd571e47d..662840f98 100644 --- a/Mlem/App/Views/Root/Tabs/Settings/InteractionBarEditor/InteractionBarEditorView+Views.swift +++ b/Mlem/App/Views/Root/Tabs/Settings/InteractionBarEditor/InteractionBarEditorView+Views.swift @@ -190,14 +190,7 @@ extension InteractionBarEditorView { var header: some View { SettingsHeaderView( title: "Interaction Bar", - description: "Tap and hold items to add, remove, or rearrange them.") { - Image(systemName: Icons.votesSquare) - .resizable() - .aspectRatio(contentMode: .fit) - .frame(width: 64) - .foregroundStyle(palette.accent) - .padding([.horizontal, .top], 20) - } + description: "Tap and hold items to add, remove, or rearrange them.") {} .background(palette.background, in: .rect(cornerRadius: Constants.main.largeItemCornerRadius)) } diff --git a/Mlem/App/Views/Root/Tabs/Settings/InteractionBarEditor/InteractionBarEditorView.swift b/Mlem/App/Views/Root/Tabs/Settings/InteractionBarEditor/InteractionBarEditorView.swift index c7b251b31..4694ac2bf 100644 --- a/Mlem/App/Views/Root/Tabs/Settings/InteractionBarEditor/InteractionBarEditorView.swift +++ b/Mlem/App/Views/Root/Tabs/Settings/InteractionBarEditor/InteractionBarEditorView.swift @@ -56,16 +56,17 @@ struct InteractionBarEditorView: Vie VStack(spacing: Constants.main.standardSpacing) { header buttons + Spacer() infoCapsule postPreview.zIndex(barPickedUpItem == nil ? 0 : 1) Divider() readoutSelectors Divider() tray.zIndex(trayPickedUpItem == nil ? 0 : 1) - Spacer() } .frame(maxWidth: .infinity) .padding(Constants.main.standardSpacing) + .padding(.bottom, Constants.main.standardSpacing) .background(palette.groupedBackground) .coordinateSpace(.named("editor")) } diff --git a/Mlem/Localizable.xcstrings b/Mlem/Localizable.xcstrings index 52fe545cc..e32834ae8 100644 --- a/Mlem/Localizable.xcstrings +++ b/Mlem/Localizable.xcstrings @@ -858,6 +858,9 @@ }, "Downvote" : { + }, + "Downvote counter" : { + }, "Downvotes" : { @@ -1841,6 +1844,9 @@ }, "Reply" : { + }, + "Reply counter" : { + }, "Report" : { @@ -1932,6 +1938,9 @@ }, "Score" : { + }, + "Score counter" : { + }, "Search" : { @@ -2533,6 +2542,9 @@ }, "Upvote" : { + }, + "Upvote counter" : { + }, "Upvote on Save" : {