Skip to content

Commit

Permalink
Upgrade to Yaru 0.4.1 (canonical#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpnurmi committed Sep 16, 2022
1 parent 538668c commit 02423f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class LxdApp extends StatelessWidget {
return YaruTheme(builder: (context, yaru, child) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: yaru.variant?.theme ?? yaruLight,
darkTheme: yaru.variant?.darkTheme ?? yaruDark,
theme: yaru.theme,
darkTheme: yaru.darkTheme,
highContrastTheme: yaruHighContrastLight,
highContrastDarkTheme: yaruHighContrastDark,
localizationsDelegates: AppLocalizations.localizationsDelegates,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ dependencies:
url: https://github.com/canonical/ubuntu-flutter-plugins.git
path: packages/ubuntu_widgets
wizard_router: ^0.8.0
yaru: ^0.3.3
yaru: ^0.4.1
yaru_icons: ^0.2.1

dev_dependencies:
Expand Down

0 comments on commit 02423f7

Please sign in to comment.