From 477e694133527073ed33937af6bd487ebe325e12 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Tue, 17 May 2022 19:40:45 +0800 Subject: [PATCH] Format code --- app/lib/pref.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/pref.dart b/app/lib/pref.dart index 0faa0ce0..84b62711 100644 --- a/app/lib/pref.dart +++ b/app/lib/pref.dart @@ -187,7 +187,8 @@ class Pref { (key, value) => provider.setInt(key, value)); bool? hasShownEnhanceInfo() => provider.getBool(PrefKey.hasShownEnhanceInfo); - bool hasShownEnhanceInfoOr([bool def = false]) => hasShownEnhanceInfo() ?? def; + bool hasShownEnhanceInfoOr([bool def = false]) => + hasShownEnhanceInfo() ?? def; Future setHasShownEnhanceInfo(bool value) => _set( PrefKey.hasShownEnhanceInfo, value,