mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: minor time improvement
This commit is contained in:
parent
3a63f63a3c
commit
a929851662
@ -17,6 +17,7 @@
|
||||
},
|
||||
"latestCommitCard": {
|
||||
"loadingLabel": "Loading",
|
||||
"timeagoLabel": "{time} ago",
|
||||
"patcherLabel": "Patcher: ",
|
||||
"managerLabel": "Manager: ",
|
||||
"updateButton": "Update Manager"
|
||||
|
@ -55,7 +55,11 @@ class _LatestCommitCardState extends State<LatestCommitCard> {
|
||||
),
|
||||
builder: (context, snapshot) => Text(
|
||||
snapshot.data!.isNotEmpty
|
||||
? snapshot.data!
|
||||
? FlutterI18n.translate(
|
||||
context,
|
||||
'latestCommitCard.timeagoLabel',
|
||||
translationParams: {'time': snapshot.data!},
|
||||
)
|
||||
: FlutterI18n.translate(
|
||||
context,
|
||||
'latestCommitCard.loadingLabel',
|
||||
@ -88,7 +92,11 @@ class _LatestCommitCardState extends State<LatestCommitCard> {
|
||||
),
|
||||
builder: (context, snapshot) => Text(
|
||||
snapshot.data!.isNotEmpty
|
||||
? snapshot.data!
|
||||
? FlutterI18n.translate(
|
||||
context,
|
||||
'latestCommitCard.timeagoLabel',
|
||||
translationParams: {'time': snapshot.data!},
|
||||
)
|
||||
: FlutterI18n.translate(
|
||||
context,
|
||||
'latestCommitCard.loadingLabel',
|
||||
|
Loading…
Reference in New Issue
Block a user