Skip to content

Commit 5d52fd2

Browse files
committed
Update github-client for flutter beta
1 parent b581095 commit 5d52fd2

File tree

21 files changed

+296
-262
lines changed

21 files changed

+296
-262
lines changed

github-client/step_03/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related

github-client/step_03/macos/Runner/AppDelegate.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

github-client/step_03/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ dev_dependencies:
4545
# activated in the `analysis_options.yaml` file located at the root of your
4646
# package. See that file for information about deactivating specific lint
4747
# rules and activating additional ones.
48-
flutter_lints: ^4.0.0
48+
flutter_lints: ^5.0.0
4949

5050
# For information on the generic Dart part of this file, see the
5151
# following page: https://dart.dev/tools/pub/pubspec

github-client/step_04/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related

github-client/step_04/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 63 additions & 63 deletions
Large diffs are not rendered by default.

github-client/step_04/macos/Runner/AppDelegate.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

github-client/step_04/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies:
3737
cupertino_icons: ^1.0.8
3838
http: ^1.2.2
3939
oauth2: ^2.0.3
40-
url_launcher: ^6.3.0
40+
url_launcher: ^6.3.1
4141

4242
dev_dependencies:
4343
flutter_test:
@@ -48,7 +48,7 @@ dev_dependencies:
4848
# activated in the `analysis_options.yaml` file located at the root of your
4949
# package. See that file for information about deactivating specific lint
5050
# rules and activating additional ones.
51-
flutter_lints: ^4.0.0
51+
flutter_lints: ^5.0.0
5252

5353
# For information on the generic Dart part of this file, see the
5454
# following page: https://dart.dev/tools/pub/pubspec

github-client/step_05/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related

github-client/step_05/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 63 additions & 63 deletions
Large diffs are not rendered by default.

github-client/step_05/macos/Runner/AppDelegate.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)