Skip to content

Commit

Permalink
Removed options bracets
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Feb 19, 2021
1 parent 005c281 commit e213c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Classes/SwiftBackgroundLocationTrackerPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ extension SwiftBackgroundLocationTrackerPlugin: FlutterPlugin {
let success = flutterEngine.run(withEntrypoint: flutterCallbackInformation.callbackName, libraryURI: flutterCallbackInformation.callbackLibraryPath)

CustomLogger.log(message: "FlutterEngine.run returned `\(success)`")
if (success) {
if success {
SwiftBackgroundLocationTrackerPlugin.flutterPluginRegistrantCallback?(flutterEngine)
self.flutterEngine = flutterEngine
} else {
Expand Down

0 comments on commit e213c4f

Please sign in to comment.