opt theme

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-12-17 13:09:15 +08:00
parent b4fb7d14d4
commit 830f3b60e0
5 changed files with 7 additions and 6 deletions

View File

@@ -98,7 +98,7 @@ class WhisperSessionItem extends StatelessWidget {
safeArea: true,
tileColor: item.isPinned
? theme.colorScheme.onInverseSurface.withValues(
alpha: Get.isDarkMode ? 0.4 : 0.8,
alpha: theme.brightness.isDark ? 0.4 : 0.8,
)
: null,
onLongPress: onLongPress,