fix: isCacheChecked is false if null

This commit is contained in:
poka 2022-06-01 09:54:12 +02:00
parent 09116b956b
commit 51182efe97
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ class OnboardingStepTen extends StatelessWidget {
const SizedBox(height: 30),
const Spacer(),
Icon(
configBox.get('isCacheChecked')
configBox.get('isCacheChecked') ?? false
? Icons.check_box
: Icons.check_box_outline_blank,
color: orangeC,

View File

@ -5,7 +5,7 @@ description: Pay with G1.
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 0.0.7+8
version: 0.0.7+9
environment:
sdk: '>=2.12.0 <3.0.0'