From 882015c4eaf8119ad6c94a4b2fe15b2b0c3faef9 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Tue, 19 Nov 2024 10:41:19 +0800 Subject: [PATCH] opt: card theme Signed-off-by: bggRGjQaUbCoE --- lib/main.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 0bde77d85..51645165c 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -57,7 +57,7 @@ void main() async { await Request.setCookie(); RecommendFilter(); SmartDialog.config.toast = - SmartConfigToast(displayType: SmartToastType.onlyRefresh); + SmartConfigToast(displayType: SmartToastType.normal); // 异常捕获 logo记录 final Catcher2Options debugConfig = Catcher2Options( SilentReportMode(), @@ -184,7 +184,7 @@ class MyApp extends StatelessWidget { surfaceTintColor: lightColorScheme.surfaceTint, ), cardTheme: CardTheme( - elevation: 2, + elevation: 1, surfaceTintColor: lightColorScheme.surfaceTint, shadowColor: Colors.transparent, ), @@ -216,7 +216,7 @@ class MyApp extends StatelessWidget { surfaceTintColor: darkColorScheme.surfaceTint, ), cardTheme: CardTheme( - elevation: 2, + elevation: 1, surfaceTintColor: darkColorScheme.surfaceTint, shadowColor: Colors.transparent, ),