Skip to content

Commit

Permalink
dart fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Suat Keskin committed Aug 24, 2023
1 parent 690bf83 commit f9e9885
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions flutter_custom_tabs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ pubspec.lock

# Directory created by dartdoc
doc/api/

# Test Coverage
/coverage/
6 changes: 2 additions & 4 deletions flutter_custom_tabs/test/launcher_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ void main() {
safariVCOption: anyNamed('safariVCOption'),
)).thenAnswer((_) async => null);

final binding = TestWidgetsFlutterBinding.ensureInitialized()
as TestWidgetsFlutterBinding;
final binding = TestWidgetsFlutterBinding.ensureInitialized();
debugDefaultTargetPlatformOverride = TargetPlatform.iOS;
expect(binding.renderView.automaticSystemUiAdjustment, isTrue);

Expand All @@ -142,8 +141,7 @@ void main() {
safariVCOption: anyNamed('safariVCOption'),
)).thenAnswer((_) async => null);

final binding = TestWidgetsFlutterBinding.ensureInitialized()
as TestWidgetsFlutterBinding;
final binding = TestWidgetsFlutterBinding.ensureInitialized();
debugDefaultTargetPlatformOverride = TargetPlatform.android;
expect(binding.renderView.automaticSystemUiAdjustment, true);

Expand Down

0 comments on commit f9e9885

Please sign in to comment.