Skip to content

Commit 46792db

Browse files
committed
13.8.6
1 parent b8507ce commit 46792db

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## [13.8.6](https://github.com/relatedcode/ProgressHUD/releases/tag/13.8.6)
4+
5+
Released on 2023-10-13.
6+
7+
#### Fixed
8+
9+
- Corrected an issue where displaying a banner would fail if a HUD had not been shown before the banner.
10+
311
## [13.8.5](https://github.com/relatedcode/ProgressHUD/releases/tag/13.8.5)
412

513
Released on 2023-10-13.

ProgressHUD/Sources/ProgressHUD+Banner.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import UIKit
1515
extension ProgressHUD {
1616

1717
func showBanner(title: String?, message: String?, delay: TimeInterval) {
18+
setupWindow()
1819
removeBanner()
1920

2021
textBannerTitle = title ?? ""

ProgressHUD/Sources/ProgressHUD.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class ProgressHUD: UIView {
2727
var labelBannerTitle: UILabel?
2828

2929
var textBannerMessage = ""
30-
var colorBannerMessage = UIColor.darkGray
30+
var colorBannerMessage = UIColor.secondaryLabel
3131
var fontBannerMessage = UIFont.systemFont(ofSize: 14)
3232
var labelBannerMessage: UILabel?
3333

@@ -174,7 +174,7 @@ extension ProgressHUD {
174174
// MARK: - Window
175175
extension ProgressHUD {
176176

177-
private func setupWindow() {
177+
func setupWindow() {
178178
if (main == nil) {
179179
main = UIApplication.shared.windows.first
180180
}
@@ -475,7 +475,7 @@ extension ProgressHUD {
475475
}
476476
}
477477

478-
func keyboardHeight() -> CGFloat {
478+
private func keyboardHeight() -> CGFloat {
479479
let windows = UIApplication.shared.windows
480480
for window in windows {
481481
for view in window.subviews {

ProgressHUD/app.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@
421421
INFOPLIST_FILE = app/Info.plist;
422422
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
423423
LD_RUNPATH_SEARCH_PATHS = "$(inherited)";
424-
MARKETING_VERSION = 13.8.5;
424+
MARKETING_VERSION = 13.8.6;
425425
PRODUCT_BUNDLE_IDENTIFIER = com.relatedcode.progresshud;
426426
PRODUCT_NAME = "$(TARGET_NAME)";
427427
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -452,7 +452,7 @@
452452
INFOPLIST_FILE = app/Info.plist;
453453
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
454454
LD_RUNPATH_SEARCH_PATHS = "$(inherited)";
455-
MARKETING_VERSION = 13.8.5;
455+
MARKETING_VERSION = 13.8.6;
456456
PRODUCT_BUNDLE_IDENTIFIER = com.relatedcode.progresshud;
457457
PRODUCT_NAME = "$(TARGET_NAME)";
458458
PROVISIONING_PROFILE_SPECIFIER = "";

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
13.8.5
1+
13.8.6

0 commit comments

Comments
 (0)