Skip to content

Commit

Permalink
Fix deprecation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanheise committed Feb 9, 2023
1 parent f63991f commit 932fdcc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion just_audio/example/lib/common.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class SeekBarState extends State<SeekBar> {
.firstMatch("$_remaining")
?.group(1) ??
'$_remaining',
style: Theme.of(context).textTheme.caption),
style: Theme.of(context).textTheme.bodySmall),
),
],
);
Expand Down
4 changes: 2 additions & 2 deletions just_audio/example/lib/example_playlist.dart
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class MyAppState extends State<MyApp> with WidgetsBindingObserver {
),
),
Text(metadata.album,
style: Theme.of(context).textTheme.headline6),
style: Theme.of(context).textTheme.titleLarge),
Text(metadata.title),
],
);
Expand Down Expand Up @@ -235,7 +235,7 @@ class MyAppState extends State<MyApp> with WidgetsBindingObserver {
Expanded(
child: Text(
"Playlist",
style: Theme.of(context).textTheme.headline6,
style: Theme.of(context).textTheme.titleLarge,
textAlign: TextAlign.center,
),
),
Expand Down
2 changes: 1 addition & 1 deletion just_audio/example/lib/example_radio.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class MyAppState extends State<MyApp> with WidgetsBindingObserver {
Padding(
padding: const EdgeInsets.only(top: 8.0),
child: Text(title,
style: Theme.of(context).textTheme.headline6),
style: Theme.of(context).textTheme.titleLarge),
),
],
);
Expand Down

0 comments on commit 932fdcc

Please sign in to comment.