From 1644f22c983236b13964fb110b6f4f96a5ed06e0 Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Mon, 27 Oct 2025 12:31:26 +0800 Subject: [PATCH] manager: Restore the colour scheme on the sulog page --- .../main/java/com/sukisu/ultra/ui/screen/LogViewerScreen.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manager/app/src/main/java/com/sukisu/ultra/ui/screen/LogViewerScreen.kt b/manager/app/src/main/java/com/sukisu/ultra/ui/screen/LogViewerScreen.kt index 048300ef..929a8b21 100644 --- a/manager/app/src/main/java/com/sukisu/ultra/ui/screen/LogViewerScreen.kt +++ b/manager/app/src/main/java/com/sukisu/ultra/ui/screen/LogViewerScreen.kt @@ -513,7 +513,7 @@ private fun LogEntryCard(entry: LogEntry) { modifier = Modifier .fillMaxWidth() .clickable { expanded = !expanded }, - colors = getCardColors(MaterialTheme.colorScheme.surface), + colors = getCardColors(MaterialTheme.colorScheme.surfaceContainerLow), elevation = CardDefaults.cardElevation(defaultElevation = 0.dp) ) { Column( @@ -779,7 +779,6 @@ private suspend fun loadLogsWithPagination( val statResult = runCmd(shell, "stat -c '%Y %s' $LOGS_PATCH 2>/dev/null || echo '0 0'") val currentHash = statResult.trim() - // 如果不是强制刷新且文件没有变化,则不加载 if (!forceRefresh && currentHash == lastHash && currentHash != "0 0") { withContext(Dispatchers.Main) { onLoaded(emptyList(), LogPageInfo(), currentHash)