Skip to content

Commit

Permalink
13.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
relatedcode committed Oct 13, 2023
1 parent b8507ce commit 46792db
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Change Log

## [13.8.6](https://github.com/relatedcode/ProgressHUD/releases/tag/13.8.6)

Released on 2023-10-13.

#### Fixed

- Corrected an issue where displaying a banner would fail if a HUD had not been shown before the banner.

## [13.8.5](https://github.com/relatedcode/ProgressHUD/releases/tag/13.8.5)

Released on 2023-10-13.
Expand Down
1 change: 1 addition & 0 deletions ProgressHUD/Sources/ProgressHUD+Banner.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import UIKit
extension ProgressHUD {

func showBanner(title: String?, message: String?, delay: TimeInterval) {
setupWindow()
removeBanner()

textBannerTitle = title ?? ""
Expand Down
6 changes: 3 additions & 3 deletions ProgressHUD/Sources/ProgressHUD.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class ProgressHUD: UIView {
var labelBannerTitle: UILabel?

var textBannerMessage = ""
var colorBannerMessage = UIColor.darkGray
var colorBannerMessage = UIColor.secondaryLabel
var fontBannerMessage = UIFont.systemFont(ofSize: 14)
var labelBannerMessage: UILabel?

Expand Down Expand Up @@ -174,7 +174,7 @@ extension ProgressHUD {
// MARK: - Window
extension ProgressHUD {

private func setupWindow() {
func setupWindow() {
if (main == nil) {
main = UIApplication.shared.windows.first
}
Expand Down Expand Up @@ -475,7 +475,7 @@ extension ProgressHUD {
}
}

func keyboardHeight() -> CGFloat {
private func keyboardHeight() -> CGFloat {
let windows = UIApplication.shared.windows
for window in windows {
for view in window.subviews {
Expand Down
4 changes: 2 additions & 2 deletions ProgressHUD/app.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@
INFOPLIST_FILE = app/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 13.8.5;
MARKETING_VERSION = 13.8.6;
PRODUCT_BUNDLE_IDENTIFIER = com.relatedcode.progresshud;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -452,7 +452,7 @@
INFOPLIST_FILE = app/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited)";
MARKETING_VERSION = 13.8.5;
MARKETING_VERSION = 13.8.6;
PRODUCT_BUNDLE_IDENTIFIER = com.relatedcode.progresshud;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
13.8.5
13.8.6

0 comments on commit 46792db

Please sign in to comment.