Skip to content

Commit 6947ef2

Browse files
committed
feat: add flutter 324 support.
1 parent d3efea9 commit 6947ef2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

webf/example/macos/Runner/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Cocoa
22
import FlutterMacOS
33

4-
@NSApplicationMain
4+
@main
55
class AppDelegate: FlutterAppDelegate {
66
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
77
return true

webf/lib/src/launcher/controller.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,9 @@ class WebFViewController implements WidgetsBindingObserver {
852852
@override
853853
void handleUpdateBackGestureProgress(backEvent) {
854854
}
855+
856+
@override
857+
void didChangeViewFocus(event) {}
855858
}
856859

857860
// An controller designed to control kraken's functional modules.

0 commit comments

Comments
 (0)