瀏覽代碼

Change the default indicator style for macOS 26

Due to the .mini and .small style now crashes on macOS 26
onevcat 4 月之前
父節點
當前提交
aef2e8674e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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