Skip to content

Commit b05a086

Browse files
committed
Improve indicator size on iPhone 13 models
1 parent 40bb950 commit b05a086

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

FTLinearActivityIndicator/Classes/UIApplication+LinearNetworkActivityIndicator.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ extension UIApplication {
8383
"iPhone13,2": (72, 34), // iPhone 12
8484
"iPhone13,3": (72, 34), // iPhone 12 Pro
8585
"iPhone13,4": (80, 42), // iPhone 12 Pro Max
86+
"iPhone14,3": (80, 42), // iPhone 13 Pro Max
87+
"iPhone14,2": (72, 34), // iPhone 13 Pro
88+
"iPhone14,5": (72, 34), // iPhone 13
89+
"iPhone14,4": (60, 30), // iPhone 13 Mini
8690
]
8791
let modelName = UIDevice.current.ftModelName
8892
let config = layout[modelName] ?? (74, 44)

0 commit comments

Comments
 (0)