Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-09-19 15:32:46 +08:00
parent 099c7b4dff
commit 51c605f5d0
16 changed files with 227 additions and 171 deletions

View File

@@ -42,9 +42,11 @@ class _EmotePanelState extends State<EmotePanel>
ThemeData theme,
LoadingState<List<Package>?> loadingState,
) {
late final color = Get.currentRoute.startsWith('/whisperDetail')
? theme.colorScheme.surface
: theme.colorScheme.onInverseSurface;
late final color = ElevationOverlay.colorWithOverlay(
theme.colorScheme.surface,
theme.hoverColor,
Get.currentRoute.startsWith('/whisperDetail') ? 8 : 2,
);
return switch (loadingState) {
Loading() => loadingWidget,
Success(:var response) =>