Skip to content

Commit

Permalink
Merge pull request #44 from aaassseee/bugfix/failed-to-build-ios-and-mac
Browse files Browse the repository at this point in the history
fix: iOS and MacOS build failed
  • Loading branch information
aaassseee authored Jan 12, 2025
2 parents cc17193 + fca20a2 commit 4761cb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public class SwiftScreenBrightnessIosPlugin: NSObject, FlutterPlugin, FlutterApp
case "setAnimate":
handleSetAnimateMethodCall(call: call, result: result)

case "canChangeSystemBrightness"
case "canChangeSystemBrightness":
handleCanChangeSystemBrightnessMethodCall(result: result)

default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class ScreenBrightnessMacosPlugin: NSObject, FlutterPlugin {
case "setAnimate":
handleSetAnimateMethodCall(call: call, result: result)

case "canChangeSystemBrightness"
case "canChangeSystemBrightness":
handleCanChangeSystemBrightnessMethodCall(result: result)

default:
Expand Down

0 comments on commit 4761cb8

Please sign in to comment.