Browse Source

Change the default indicator style for macOS 26

Due to the .mini and .small style now crashes on macOS 26
onevcat 4 tháng trước cách đây
mục cha
commit
aef2e8674e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Sources/Views/Indicator.swift

+ 1 - 1
Sources/Views/Indicator.swift

@@ -152,7 +152,7 @@ final class ActivityIndicator: Indicator {
     init() {
         #if os(macOS)
             activityIndicatorView = NSProgressIndicator(frame: CGRect(x: 0, y: 0, width: 16, height: 16))
-            activityIndicatorView.controlSize = .small
+            activityIndicatorView.controlSize = .regular
             activityIndicatorView.style = .spinning
         #else
             let indicatorStyle: UIActivityIndicatorView.Style