style: code format

This commit is contained in:
orz12
2024-08-26 06:05:40 +08:00
parent 7192d2b5e1
commit d455bd86bf
2 changed files with 2 additions and 3 deletions

View File

@@ -30,8 +30,7 @@ void main() async {
WidgetsFlutterBinding.ensureInitialized(); WidgetsFlutterBinding.ensureInitialized();
MediaKit.ensureInitialized(); MediaKit.ensureInitialized();
await GStorage.init(); await GStorage.init();
if (GStorage.setting if (GStorage.setting.get(SettingBoxKey.autoClearCache, defaultValue: false)) {
.get(SettingBoxKey.autoClearCache, defaultValue: false)) {
await CacheManage.clearLibraryCache(); await CacheManage.clearLibraryCache();
} }
if (GStorage.setting if (GStorage.setting

View File

@@ -139,7 +139,7 @@ class _MainAppState extends State<MainApp> with SingleTickerProviderStateMixin {
], ],
begin: Alignment.topLeft, begin: Alignment.topLeft,
end: Alignment.bottomRight, end: Alignment.bottomRight,
stops: const [0.1, 0.4 ,0.7]), stops: const [0.1, 0.4, 0.7]),
), ),
), ),
), ),