Updated constant names
This commit is contained in:
@@ -472,7 +472,7 @@ class _ActiveGameViewState extends State<ActiveGameView> {
|
||||
if (round != null && round >= 0) {
|
||||
WidgetsBinding.instance.addPostFrameCallback((_) async {
|
||||
await Future.delayed(
|
||||
const Duration(milliseconds: Constants.roundViewDelay));
|
||||
const Duration(milliseconds: Constants.kRoundViewDelay));
|
||||
if (context.mounted) {
|
||||
_openRoundView(context, round);
|
||||
}
|
||||
@@ -488,7 +488,7 @@ class _ActiveGameViewState extends State<ActiveGameView> {
|
||||
|
||||
confettiController.play();
|
||||
|
||||
await Future.delayed(const Duration(milliseconds: Constants.popUpDelay));
|
||||
await Future.delayed(const Duration(milliseconds: Constants.kPopUpDelay));
|
||||
|
||||
if (context.mounted) {
|
||||
showCupertinoDialog(
|
||||
|
||||
@@ -216,7 +216,7 @@ class _CreateGameViewState extends State<CreateGameView> {
|
||||
? 1.0
|
||||
: 0.0,
|
||||
duration: const Duration(
|
||||
milliseconds: Constants.fadeInDuration),
|
||||
milliseconds: Constants.kFadeInDuration),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.only(right: 8.0),
|
||||
child: ReorderableDragStartListener(
|
||||
|
||||
@@ -245,7 +245,7 @@ class _MainMenuViewState extends State<MainMenuView> {
|
||||
BadRatingDialogDecision badRatingDecision = BadRatingDialogDecision.cancel;
|
||||
|
||||
// so that the bad rating dialog is not shown immediately
|
||||
await Future.delayed(const Duration(milliseconds: Constants.popUpDelay));
|
||||
await Future.delayed(const Duration(milliseconds: Constants.kPopUpDelay));
|
||||
|
||||
switch (preRatingDecision) {
|
||||
case PreRatingDialogDecision.yes:
|
||||
|
||||
Reference in New Issue
Block a user