mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 15:38:13 -07:00
fix: Standardize precision used in communityRating (#424)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
d421bb13e6
commit
ca7cd827e1
3 changed files with 29 additions and 31 deletions
|
|
@ -130,7 +130,7 @@ class OverviewHeader extends ConsumerWidget {
|
|||
color: Theme.of(context).colorScheme.primary,
|
||||
),
|
||||
Text(
|
||||
communityRating?.toStringAsFixed(1) ?? "",
|
||||
communityRating?.toStringAsFixed(2) ?? "",
|
||||
style: subStyle,
|
||||
),
|
||||
],
|
||||
|
|
|
|||
|
|
@ -83,13 +83,15 @@ class PosterWidget extends ConsumerWidget {
|
|||
),
|
||||
),
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
if (subTitle != null) ...[
|
||||
Opacity(
|
||||
opacity: opacity,
|
||||
child: subTitle!,
|
||||
Flexible(
|
||||
child: Opacity(
|
||||
opacity: opacity,
|
||||
child: subTitle!,
|
||||
),
|
||||
),
|
||||
const Spacer()
|
||||
],
|
||||
if (poster.subText?.isNotEmpty ?? false)
|
||||
Flexible(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue