From 61b2a9bb82116c2656b40056a3d130539f75ba31 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Mon, 16 Oct 2023 18:37:36 -0500 Subject: [PATCH] Adds PillButton.style to switch between `pill` and `custom` styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `pill` style enforces minimum size + content insets, while `custom` doesn’t. --- AltStore/Components/AppBannerView.xib | 4 +-- AltStore/Components/PillButton.swift | 44 ++++++++++++++++++++++++--- 2 files changed, 41 insertions(+), 7 deletions(-) diff --git a/AltStore/Components/AppBannerView.xib b/AltStore/Components/AppBannerView.xib index 95337f61..c27095f2 100644 --- a/AltStore/Components/AppBannerView.xib +++ b/AltStore/Components/AppBannerView.xib @@ -110,12 +110,12 @@ -