Skip to content

Commit

Permalink
The identifier needs to be accessed statically
Browse files Browse the repository at this point in the history
  • Loading branch information
JlUgia committed May 31, 2021
1 parent 2b4a79e commit 38dd2e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pay_ios/ios/Classes/ApplePayButtonView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class ApplePayButtonView: NSObject, FlutterPlatformView {
let buttonStyle = arguments["style"] as! String

// Instantiate the channel to talk to the Flutter end.
channel = FlutterMethodChannel(name: "\(buttonMethodChannelName)/\(viewId)",
channel = FlutterMethodChannel(name: "\(ApplePayButtonView.buttonMethodChannelName)/\(viewId)",
binaryMessenger: messenger)

super.init()
Expand Down

0 comments on commit 38dd2e3

Please sign in to comment.