Skip to content

Commit

Permalink
fix: closes #433
Browse files Browse the repository at this point in the history
  • Loading branch information
lucien144 committed Feb 14, 2024
1 parent 75b65c1 commit 26e7921
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion lib/components/post/dice.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ class _DiceState extends State<Dice> {
setState(() => _loading = false);
}
},
child: _loading ? CupertinoActivityIndicator() : Text('Hodit! ${_dice!.diceCount}d${_dice!.diceSides}'),
child: _loading
? CupertinoActivityIndicator()
: Text(
'Hodit! ${_dice!.diceCount}d${_dice!.diceSides}',
style: TextStyle(color: colors.background),
),
color: colors.primary,
padding: EdgeInsets.all(0),
disabledColor: colors.disabled,
Expand Down
2 changes: 1 addition & 1 deletion lib/components/post/poll.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ class _PollState extends State<Poll> {
? CupertinoActivityIndicator()
: Text(
buttonText(emptyVote),
style: TextStyle(color: colors.pollBackground),
style: TextStyle(color: colors.background),
),
color: colors.primary,
padding: EdgeInsets.all(0),
Expand Down

0 comments on commit 26e7921

Please sign in to comment.