Skip to content

Commit bd2af66

Browse files
authored
[pointer_interceptor_ios] Use 'let' for unmutated var (#13297)
This wasn't showing up in CI due to flutter/flutter#194517. Fixes flutter/flutter#194598 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent e2caa58 commit bd2af66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/pointer_interceptor/pointer_interceptor_ios/example/ios/Runner

‎packages/pointer_interceptor/pointer_interceptor_ios/example/ios/Runner/AppDelegate.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import UIKit
1111
_ application: UIApplication,
1212
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
1313
) -> Bool {
14-
weak var registrar = self.registrar(forPlugin: "DummyPlatform")
14+
let registrar = self.registrar(forPlugin: "DummyPlatform")
1515

1616
let factory = DummyPlatformViewFactory(messenger: registrar!.messenger())
1717
self.registrar(forPlugin: "<DummyPlatform>")!.register(

0 commit comments

Comments
 (0)