From a95bd7c7323b841cc246bf27895be7d2dd1465d8 Mon Sep 17 00:00:00 2001 From: CMK Date: Thu, 5 Aug 2021 16:30:43 +0800 Subject: [PATCH] fix: menu button too small issue. resolve #235 --- Mastodon/Scene/Share/View/ToolBar/ActionToolBarContainer.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mastodon/Scene/Share/View/ToolBar/ActionToolBarContainer.swift b/Mastodon/Scene/Share/View/ToolBar/ActionToolBarContainer.swift index 794f9c761..f771f8bb2 100644 --- a/Mastodon/Scene/Share/View/ToolBar/ActionToolBarContainer.swift +++ b/Mastodon/Scene/Share/View/ToolBar/ActionToolBarContainer.swift @@ -100,6 +100,8 @@ extension ActionToolbarContainer { button.expandEdgeInsets = UIEdgeInsets(top: -10, left: -10, bottom: -10, right: -10) button.setInsets(forContentPadding: .zero, imageTitlePadding: style.buttonTitleImagePadding) } + // add more expand for menu button + moreButton.expandEdgeInsets = UIEdgeInsets(top: -10, left: -20, bottom: -10, right: -20) let replyImage = UIImage(systemName: "arrowshape.turn.up.left.fill", withConfiguration: UIImage.SymbolConfiguration(pointSize: 17, weight: .ultraLight))!.withRenderingMode(.alwaysTemplate) let reblogImage = UIImage(systemName: "arrow.2.squarepath", withConfiguration: UIImage.SymbolConfiguration(pointSize: 17, weight: .bold))!.withRenderingMode(.alwaysTemplate)