From 2c2632e3662976643e2f75a0b74b4617f6527333 Mon Sep 17 00:00:00 2001 From: omarthamri Date: Sat, 2 Dec 2023 20:51:38 +0100 Subject: [PATCH] Fix padding bug --- .../Pods-MyTinderSwipingAnimation_Tests-Info.plist | 2 +- Example/Tests/Info.plist | 2 +- MyTinderSwipingAnimation.podspec | 2 +- Sources/TinderSwipingAnimation/Views/Card.swift | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Example/Pods/Target Support Files/Pods-MyTinderSwipingAnimation_Tests/Pods-MyTinderSwipingAnimation_Tests-Info.plist b/Example/Pods/Target Support Files/Pods-MyTinderSwipingAnimation_Tests/Pods-MyTinderSwipingAnimation_Tests-Info.plist index c60ff59..f15ae87 100644 --- a/Example/Pods/Target Support Files/Pods-MyTinderSwipingAnimation_Tests/Pods-MyTinderSwipingAnimation_Tests-Info.plist +++ b/Example/Pods/Target Support Files/Pods-MyTinderSwipingAnimation_Tests/Pods-MyTinderSwipingAnimation_Tests-Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 1.9 + 1.9.1 CFBundleSignature ???? CFBundleVersion diff --git a/Example/Tests/Info.plist b/Example/Tests/Info.plist index e50bf72..620b744 100644 --- a/Example/Tests/Info.plist +++ b/Example/Tests/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 1.9 + 1.9.1 CFBundleSignature ???? CFBundleVersion diff --git a/MyTinderSwipingAnimation.podspec b/MyTinderSwipingAnimation.podspec index eb96637..aeba17f 100644 --- a/MyTinderSwipingAnimation.podspec +++ b/MyTinderSwipingAnimation.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'MyTinderSwipingAnimation' - s.version = '1.9' + s.version = '1.9.1' s.summary = 'TinderSwipingAnimation is an easy to use library written using SwiftUI to simplify the implementation of the tinder swipe animation.' # This description is used to generate tags and improve search results. diff --git a/Sources/TinderSwipingAnimation/Views/Card.swift b/Sources/TinderSwipingAnimation/Views/Card.swift index 27c67cf..435f7f2 100644 --- a/Sources/TinderSwipingAnimation/Views/Card.swift +++ b/Sources/TinderSwipingAnimation/Views/Card.swift @@ -74,7 +74,7 @@ struct Card: View { .fontWeight(.bold) } .padding(.bottom,buttons.count != 0 ? 100 : 15) - .padding(.leading,10) + .padding(.horizontal,20) } else { HStack(alignment: .bottom) { Text(card.name) @@ -88,7 +88,7 @@ struct Card: View { .fontWeight(.bold) } .padding(.bottom,buttons.count != 0 ? 100 : 15) - .padding(.horizontal,10) + .padding(.horizontal,20) } }