Skip to content

Commit

Permalink
Toast
Browse files Browse the repository at this point in the history
  • Loading branch information
RyukieSama committed Apr 26, 2024
1 parent b193892 commit eb04c41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Swifty/Classes/UIKit/EasyToast/EasyToast.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class EasyToast {
if let _ = image {
titleString = ("\n\n\n\n\n" + (title ?? ""))
}
let vc = EasyToastViewController(title: titleString, message: message, preferredStyle: .alert)
let vc = EasyToastViewController(title: titleString ?? "", message: message, preferredStyle: .alert)

if let tintColor = tintColor {
vc.view.tintColor = tintColor
Expand Down

0 comments on commit eb04c41

Please sign in to comment.