Skip to content

Commit

Permalink
fix: replace deprecated members after upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
aitorres committed Dec 30, 2024
1 parent d61d706 commit 6f44a89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/widgets/status_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class _StatusCardState extends State<StatusCard> {
),
subtitle: Text(
status.account.acct,
style: TextStyle(color: Colors.white.withOpacity(0.6)),
style: TextStyle(color: Colors.white.withValues(alpha: 0.6)),
),
),
Padding(
Expand All @@ -145,7 +145,7 @@ class _StatusCardState extends State<StatusCard> {
data: status.content,
style: {
'p': Style(
color: Colors.white.withOpacity(0.6),
color: Colors.white.withValues(alpha: 0.6),
)
},
// TODO: handle @mentions and #hashtags differently
Expand All @@ -154,7 +154,7 @@ class _StatusCardState extends State<StatusCard> {
},
),
),
ButtonBar(
OverflowBar(
alignment: MainAxisAlignment.spaceAround,
children: [
IconButton(
Expand Down

0 comments on commit 6f44a89

Please sign in to comment.