Skip to content

Commit

Permalink
Satisfy analyzer for newer Flutter versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuntu committed Feb 13, 2025
1 parent 0967b98 commit aed75a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions gui/packages/ubuntupro/lib/pages/startup/startup_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ extension AgentStateL10n on AgentState {
case AgentState.ok:
// This state should not need translations.
return '';
default:
throw UnimplementedError(toString());
}
}
}
6 changes: 4 additions & 2 deletions gui/packages/ubuntupro/lib/pages/widgets/radio_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ class RadioTile<T> extends StatelessWidget {
: null,
child: YaruSelectableContainer(
selected: groupValue == value,
selectionColor:
Theme.of(context).colorScheme.tertiaryContainer.withOpacity(0.8),
selectionColor: Theme.of(context)
.colorScheme
.tertiaryContainer
.withValues(alpha: 0.8),
padding: EdgeInsets.zero,
child: YaruRadioListTile(
contentPadding: const EdgeInsets.all(6),
Expand Down

0 comments on commit aed75a1

Please sign in to comment.