mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 04:37:37 +02:00
fix: minor time improvement
This commit is contained in:
@ -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',
|
||||
|
Reference in New Issue
Block a user