mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
force translation badge to capitalize
This commit is contained in:
@@ -455,7 +455,6 @@ class _ComicDescription extends StatelessWidget {
|
||||
).toAlign(Alignment.topCenter);
|
||||
}),
|
||||
),
|
||||
// const Spacer(),
|
||||
Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.end,
|
||||
children: [
|
||||
@@ -480,10 +479,12 @@ class _ComicDescription extends StatelessWidget {
|
||||
color: Theme.of(context).colorScheme.tertiaryContainer,
|
||||
borderRadius: const BorderRadius.all(Radius.circular(8)),
|
||||
),
|
||||
child: Text(
|
||||
badge!,
|
||||
style: const TextStyle(fontSize: 12),
|
||||
),
|
||||
child: Center(
|
||||
child:Text(
|
||||
"${badge![0].toUpperCase()}${badge!.substring(1).toLowerCase()}",
|
||||
style: const TextStyle(fontSize: 12),
|
||||
),
|
||||
)
|
||||
),
|
||||
],
|
||||
)
|
||||
|
Reference in New Issue
Block a user