From e9d35d24732f63c5e8df3b07aca79105bc1584c5 Mon Sep 17 00:00:00 2001 From: Lukas Klingsbo Date: Fri, 18 Oct 2024 12:24:10 +0200 Subject: [PATCH] chore: Bump yaru to 5.3.1 (#1848) Accidentally merged the other PR with the dependency override (and a missed name change). --- packages/app_center/lib/manage/manage_snap_tile.dart | 2 +- packages/app_center/lib/manage/snap_actions_button.dart | 4 ++-- packages/app_center/lib/snapd/snap_page.dart | 2 +- packages/app_center/pubspec.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/app_center/lib/manage/manage_snap_tile.dart b/packages/app_center/lib/manage/manage_snap_tile.dart index dc41c6fd4..28b11a896 100644 --- a/packages/app_center/lib/manage/manage_snap_tile.dart +++ b/packages/app_center/lib/manage/manage_snap_tile.dart @@ -32,7 +32,7 @@ class ManageSnapTile extends StatelessWidget { const radius = Radius.circular(8); final actionButtons = Align( alignment: Alignment.centerRight, - child: SnapActionButtons(snapName: snap.name, isPrimary: false), + child: SnapActionsButton(snapName: snap.name, isPrimary: false), ); return DecoratedBox( diff --git a/packages/app_center/lib/manage/snap_actions_button.dart b/packages/app_center/lib/manage/snap_actions_button.dart index 89513873b..f1ea2532a 100644 --- a/packages/app_center/lib/manage/snap_actions_button.dart +++ b/packages/app_center/lib/manage/snap_actions_button.dart @@ -10,8 +10,8 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:yaru/yaru.dart'; -class SnapActionButtons extends ConsumerWidget { - const SnapActionButtons({ +class SnapActionsButton extends ConsumerWidget { + const SnapActionsButton({ required this.snapName, required this.isPrimary, super.key, diff --git a/packages/app_center/lib/snapd/snap_page.dart b/packages/app_center/lib/snapd/snap_page.dart index b05642067..4fd7e5d6c 100644 --- a/packages/app_center/lib/snapd/snap_page.dart +++ b/packages/app_center/lib/snapd/snap_page.dart @@ -174,7 +174,7 @@ class _SnapView extends StatelessWidget { const SizedBox(width: kSpacing), ], Flexible( - child: SnapActionButtons( + child: SnapActionsButton( snapName: snapData.name, isPrimary: true, ), diff --git a/packages/app_center/pubspec.yaml b/packages/app_center/pubspec.yaml index 1d6f0a359..6d0f48a06 100644 --- a/packages/app_center/pubspec.yaml +++ b/packages/app_center/pubspec.yaml @@ -52,7 +52,7 @@ dependencies: ubuntu_widgets: ^0.7.1 url_launcher: ^6.3.0 xdg_directories: ^1.0.4 - yaru: ^5.3.0 + yaru: ^5.3.1 yaru_test: ^0.2.0 yaru_window: ^0.2.1