From 20c9cd709f1c9ab811e6ad3fd03e41535174f761 Mon Sep 17 00:00:00 2001 From: CMK Date: Thu, 5 Aug 2021 16:20:35 +0800 Subject: [PATCH] fix: server cell expand button hit test area too small issue --- .../Onboarding/PickServer/TableViewCell/PickServerCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mastodon/Scene/Onboarding/PickServer/TableViewCell/PickServerCell.swift b/Mastodon/Scene/Onboarding/PickServer/TableViewCell/PickServerCell.swift index 41cf8d38b..ee2471878 100644 --- a/Mastodon/Scene/Onboarding/PickServer/TableViewCell/PickServerCell.swift +++ b/Mastodon/Scene/Onboarding/PickServer/TableViewCell/PickServerCell.swift @@ -87,7 +87,7 @@ class PickServerCell: UITableViewCell { }() let expandButton: UIButton = { - let button = UIButton(type: .custom) + let button = HitTestExpandedButton(type: .custom) button.setImage(UIImage(systemName: "chevron.down", withConfiguration: UIImage.SymbolConfiguration(pointSize: 13)), for: .normal) button.setTitle(L10n.Scene.ServerPicker.Button.seeMore, for: .normal) button.setTitleColor(Asset.Colors.brandBlue.color, for: .normal)