Skip to content

Commit

Permalink
Fixed line break bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
elai950 committed Feb 12, 2023
1 parent b39252e commit 638f38f
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 4 deletions.
Binary file modified ._AlertToast.podspec
Binary file not shown.
Binary file modified ._LICENSE.md
Binary file not shown.
Binary file modified ._Package.swift
Binary file not shown.
Binary file modified .swiftpm/xcode/._package.xcworkspace
Binary file not shown.
2 changes: 1 addition & 1 deletion AlertToast.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
#

spec.name = "AlertToast"
spec.version = "1.3.8"
spec.version = "1.3.9"
spec.summary = "Create Apple-like alerts & toasts using SwiftUI"

# This description is used to generate tags and improve search results.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Currently in SwiftUI, the only way to inform the user about some process that fi

Alert Toast is an open-source library in Github to use with SwiftUI. It allows you to present popups that don't need any user action to dismiss or to validate. Some great usage examples: `Message Sent`, `Poor Network Connection`, `Profile Updated`, `Logged In/Out`, `Favorited`, `Loading` and so on...

<img src="https://img.shields.io/badge/BUILD-1.3.8-green?style=for-the-badge" />&nbsp;&nbsp;&nbsp;<img src="https://img.shields.io/badge/PLATFORM-IOS%20|%20MACOS-lightgray?style=for-the-badge" />&nbsp;&nbsp;&nbsp;<img src="https://img.shields.io/badge/LICENSE-MIT-lightgray?style=for-the-badge" />&nbsp;&nbsp;&nbsp;<img src="https://img.shields.io/badge/MADE WITH-SWIFTUI-orange?style=for-the-badge" />
<img src="https://img.shields.io/badge/BUILD-1.3.9-green?style=for-the-badge" />&nbsp;&nbsp;&nbsp;<img src="https://img.shields.io/badge/PLATFORM-IOS%20|%20MACOS-lightgray?style=for-the-badge" />&nbsp;&nbsp;&nbsp;<img src="https://img.shields.io/badge/LICENSE-MIT-lightgray?style=for-the-badge" />&nbsp;&nbsp;&nbsp;<img src="https://img.shields.io/badge/MADE WITH-SWIFTUI-orange?style=for-the-badge" />

* Built with pure SwiftUI.
* 3 Display modes: `Alert` (pop at the center), `HUD` (drop from the top) and `Banner` (pop/slide from the bottom).
Expand Down
Binary file modified Sources/AlertToast/._AlertToast.swift
Binary file not shown.
2 changes: 0 additions & 2 deletions Sources/AlertToast/AlertToast.swift
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ public struct AlertToast: View{
.font(style?.subTitleFont ?? Font.subheadline)
}
}
.fixedSize(horizontal: true, vertical: false)
.multilineTextAlignment(.leading)
.textColor(style?.titleColor ?? nil)
.padding()
Expand Down Expand Up @@ -316,7 +315,6 @@ public struct AlertToast: View{
}
}
}
.fixedSize(horizontal: true, vertical: false)
.padding(.horizontal, 24)
.padding(.vertical, 8)
.frame(minHeight: 50)
Expand Down

0 comments on commit 638f38f

Please sign in to comment.