Skip to content

Commit 6f44a89

Browse files
committed
fix: replace deprecated members after upgrade
1 parent d61d706 commit 6f44a89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/widgets/status_card.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ class _StatusCardState extends State<StatusCard> {
136136
),
137137
subtitle: Text(
138138
status.account.acct,
139-
style: TextStyle(color: Colors.white.withOpacity(0.6)),
139+
style: TextStyle(color: Colors.white.withValues(alpha: 0.6)),
140140
),
141141
),
142142
Padding(
@@ -145,7 +145,7 @@ class _StatusCardState extends State<StatusCard> {
145145
data: status.content,
146146
style: {
147147
'p': Style(
148-
color: Colors.white.withOpacity(0.6),
148+
color: Colors.white.withValues(alpha: 0.6),
149149
)
150150
},
151151
// TODO: handle @mentions and #hashtags differently
@@ -154,7 +154,7 @@ class _StatusCardState extends State<StatusCard> {
154154
},
155155
),
156156
),
157-
ButtonBar(
157+
OverflowBar(
158158
alignment: MainAxisAlignment.spaceAround,
159159
children: [
160160
IconButton(

0 commit comments

Comments
 (0)