Skip to content

Commit

Permalink
Fix padding bug
Browse files Browse the repository at this point in the history
  • Loading branch information
omarthamri committed Dec 2, 2023
1 parent e03ff10 commit 2c2632e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Example/Tests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>1.9</string>
<string>1.9.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 1 addition & 1 deletion MyTinderSwipingAnimation.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions Sources/TinderSwipingAnimation/Views/Card.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -88,7 +88,7 @@ struct Card: View {
.fontWeight(.bold)
}
.padding(.bottom,buttons.count != 0 ? 100 : 15)
.padding(.horizontal,10)
.padding(.horizontal,20)
}
}

Expand Down

0 comments on commit 2c2632e

Please sign in to comment.