refactor: Update to Dart 3.10 with . shorthands
This commit is contained in:
parent
75a37f3f7c
commit
1ea649f01e
167 changed files with 3351 additions and 3912 deletions
|
|
@ -353,13 +353,15 @@ class MatrixLocals extends MatrixLocalizations {
|
|||
String get cancelledSend => l10n.sendCanceled;
|
||||
|
||||
@override
|
||||
String voiceMessage(String senderName, Duration? duration) =>
|
||||
l10n.sentVoiceMessage(
|
||||
senderName,
|
||||
duration == null
|
||||
? ''
|
||||
: '${duration.inMinutes.toString().padLeft(2, '0')}:${(duration.inSeconds % 60).toString().padLeft(2, '0')}',
|
||||
);
|
||||
String voiceMessage(
|
||||
String senderName,
|
||||
Duration? duration,
|
||||
) => l10n.sentVoiceMessage(
|
||||
senderName,
|
||||
duration == null
|
||||
? ''
|
||||
: '${duration.inMinutes.toString().padLeft(2, '0')}:${(duration.inSeconds % 60).toString().padLeft(2, '0')}',
|
||||
);
|
||||
|
||||
@override
|
||||
String get refreshingLastEvent => l10n.loadingPleaseWait;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue