File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 55* .swp
66.DS_Store
77.atom /
8+ .build /
89.buildlog /
910.history
1011.svn /
12+ .swiftpm /
1113migrate_working_dir /
1214
1315# IntelliJ related
Original file line number Diff line number Diff line change @@ -6,4 +6,8 @@ class AppDelegate: FlutterAppDelegate {
66 override func applicationShouldTerminateAfterLastWindowClosed( _ sender: NSApplication ) -> Bool {
77 return true
88 }
9+
10+ override func applicationSupportsSecureRestorableState( _ app: NSApplication ) -> Bool {
11+ return true
12+ }
913}
Original file line number Diff line number Diff line change @@ -767,6 +767,12 @@ class DataManager {
767767 _publishModelStreamController.add (_publishModel);
768768 }
769769
770+ Future <void > setPublishModel (SDKPublishModel model) async {
771+ _publishModel = model;
772+ await emitPublishModel ();
773+ savePublishModel ();
774+ }
775+
770776 /// Saves the current [_publishModel] if it is not null to the local cache
771777 /// using [localDataRepository] .
772778 void savePublishModel () {
You can’t perform that action at this time.
0 commit comments