From ec06fd8f882bb68122a0645e13d2e35fcb4ee2e3 Mon Sep 17 00:00:00 2001 From: Sjmarf <78750526+Sjmarf@users.noreply.github.com> Date: Sat, 20 Jan 2024 21:40:22 +0000 Subject: [PATCH] tweaks --- Mlem/Views/Shared/Composer/PostComposerView.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Mlem/Views/Shared/Composer/PostComposerView.swift b/Mlem/Views/Shared/Composer/PostComposerView.swift index 3f5ab19ac..0bb43dbdf 100644 --- a/Mlem/Views/Shared/Composer/PostComposerView.swift +++ b/Mlem/Views/Shared/Composer/PostComposerView.swift @@ -113,11 +113,12 @@ struct PostComposerView: View { let url = URL(string: attachmentModel.url) if !(url?.isImage ?? true) { HStack(spacing: AppConstants.postAndCommentSpacing) { - Image(systemName: "link") + Image(systemName: Icons.websiteAddress) .foregroundStyle(.blue) Text(attachmentModel.url) .foregroundStyle(.secondary) .lineLimit(1) + Spacer() Button(action: attachmentModel.removeLinkAction, label: { Image(systemName: Icons.close) .fontWeight(.semibold) @@ -255,7 +256,7 @@ struct PostComposerView: View { } ToolbarItem(placement: .navigationBarTrailing) { LinkUploadOptionsView(model: attachmentModel) { - Label("Attach image or link", systemImage: "link") + Label("Attach Image or Link", systemImage: Icons.websiteAddress) } .disabled(attachmentModel.imageModel != nil || attachmentModel.url.isNotEmpty) }