Skip to content

Commit

Permalink
Merge pull request #194 from SputNikPlop/score
Browse files Browse the repository at this point in the history
fix: remove deprecations
  • Loading branch information
droibit authored Jun 27, 2024
2 parents db2a42c + 2f0e1d6 commit 233d589
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions flutter_custom_tabs/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Future<void> _launchUrl(BuildContext context) async {
customTabsOptions: CustomTabsOptions(
colorSchemes: CustomTabsColorSchemes.defaults(
toolbarColor: theme.colorScheme.surface,
navigationBarColor: theme.colorScheme.background,
navigationBarColor: theme.colorScheme.surface,
),
shareState: CustomTabsShareState.on,
urlBarHidingEnabled: true,
Expand All @@ -118,7 +118,7 @@ Future<void> _launchURLInDefaultBrowserOnAndroid(BuildContext context) async {
customTabsOptions: CustomTabsOptions(
colorSchemes: CustomTabsColorSchemes.defaults(
toolbarColor: theme.colorScheme.surface,
navigationBarColor: theme.colorScheme.background,
navigationBarColor: theme.colorScheme.surface,
),
urlBarHidingEnabled: true,
showTitle: true,
Expand Down Expand Up @@ -161,7 +161,7 @@ Future<void> _launchDeepLinkURL(BuildContext context) async {
customTabsOptions: CustomTabsOptions(
colorSchemes: CustomTabsColorSchemes.defaults(
toolbarColor: theme.colorScheme.surface,
navigationBarColor: theme.colorScheme.background,
navigationBarColor: theme.colorScheme.surface,
),
urlBarHidingEnabled: true,
showTitle: true,
Expand Down
2 changes: 1 addition & 1 deletion flutter_custom_tabs/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ flutter:
ios:
default_package: flutter_custom_tabs_ios
web:
default_package: flutter_custom_tabs_web
default_package: flutter_custom_tabs_web

0 comments on commit 233d589

Please sign in to comment.