i always forget, that's web sucks
This commit is contained in:
parent
489f7aa657
commit
7362d55bc4
|
@ -372,7 +372,7 @@ class CompareState extends State<CompareView> {
|
||||||
]);
|
]);
|
||||||
formattedValues[0].add([
|
formattedValues[0].add([
|
||||||
Text(timestamp(p.registrationTime)),
|
Text(timestamp(p.registrationTime)),
|
||||||
RichText(text: p.xp.isNegative ? TextSpan(text: "hidden", style: TextStyle(fontFamily: "Eurostile Round", color: Colors.grey)) : TextSpan(text: intf.format(p.xp), style: TextStyle(fontFamily: "Eurostile Round"), children: [TextSpan(text: " (lvl ${intf.format(p.level.floor())})", style: TextStyle(color: Colors.grey))])),
|
RichText(text: p.xp.isNegative ? TextSpan(text: "hidden", style: TextStyle(fontFamily: "Eurostile Round", color: Colors.grey)) : TextSpan(text: intf.format(p.xp), style: TextStyle(fontFamily: "Eurostile Round", color: Colors.white), children: [TextSpan(text: " (lvl ${intf.format(p.level.floor())})", style: TextStyle(color: Colors.grey))])),
|
||||||
Text(p.gameTime.isNegative ? "hidden" : playtime(p.gameTime), style: TextStyle(color: p.gameTime.isNegative ? Colors.grey : Colors.white)),
|
Text(p.gameTime.isNegative ? "hidden" : playtime(p.gameTime), style: TextStyle(color: p.gameTime.isNegative ? Colors.grey : Colors.white)),
|
||||||
Text(p.gamesPlayed.isNegative ? "hidden" : intf.format(p.gamesPlayed), style: TextStyle(color: p.gamesPlayed.isNegative ? Colors.grey : Colors.white)),
|
Text(p.gamesPlayed.isNegative ? "hidden" : intf.format(p.gamesPlayed), style: TextStyle(color: p.gamesPlayed.isNegative ? Colors.grey : Colors.white)),
|
||||||
Text(p.gamesWon.isNegative ? "hidden" : intf.format(p.gamesWon), style: TextStyle(color: p.gamesWon.isNegative ? Colors.grey : Colors.white)),
|
Text(p.gamesWon.isNegative ? "hidden" : intf.format(p.gamesWon), style: TextStyle(color: p.gamesWon.isNegative ? Colors.grey : Colors.white)),
|
||||||
|
@ -1005,6 +1005,7 @@ class HeaderCard extends StatelessWidget{
|
||||||
text: TextSpan(text: player.username, style: TextStyle(
|
text: TextSpan(text: player.username, style: TextStyle(
|
||||||
fontFamily: fontStyle(player.username.length),
|
fontFamily: fontStyle(player.username.length),
|
||||||
fontSize: 28,
|
fontSize: 28,
|
||||||
|
color: Colors.white,
|
||||||
shadows: textShadow
|
shadows: textShadow
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
|
@ -131,7 +131,7 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<!-- This script adds the flutter initialization JS code -->
|
<!-- This script adds the flutter initialization JS code -->
|
||||||
<script src="flutter.js?version=2.0.0" defer></script>
|
<script src="flutter.js?version=2.0.1" defer></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="preloader">
|
<div id="preloader">
|
||||||
|
|
Loading…
Reference in New Issue