fix deprecated and lint warnings
This commit is contained in:
parent
ca9dd32555
commit
b9dae5df88
8 changed files with 21 additions and 16 deletions
|
|
@ -146,7 +146,7 @@ class IRCMessage {
|
|||
span.add(
|
||||
TextSpan(
|
||||
text: '${DateFormat.Hm().format(parsedTime)} ',
|
||||
style: style?.copyWith(color: style.color?.withOpacity(0.5)),
|
||||
style: style?.copyWith(color: style.color?.withValues(alpha: 0.5)),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
@ -155,7 +155,7 @@ class IRCMessage {
|
|||
span.add(
|
||||
TextSpan(
|
||||
text: '${DateFormat('h:mm').format(parsedTime)} ',
|
||||
style: style?.copyWith(color: style.color?.withOpacity(0.5)),
|
||||
style: style?.copyWith(color: style.color?.withValues(alpha: 0.5)),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue