mod: up设置分组适配暗黑模式

This commit is contained in:
guozhigq
2024-01-06 15:46:37 +08:00
parent f5d928e0f3
commit 7c82193f22

View File

@ -438,8 +438,15 @@ class VideoIntroController extends GetxController {
if (context.mounted) { if (context.mounted) {
ScaffoldMessenger.of(context).showSnackBar( ScaffoldMessenger.of(context).showSnackBar(
SnackBar( SnackBar(
content: const Text('关注成功'), content: Text(
'关注成功',
style: TextStyle(
color:
Theme.of(context).colorScheme.onBackground),
),
duration: const Duration(seconds: 2), duration: const Duration(seconds: 2),
backgroundColor:
Theme.of(context).colorScheme.background,
action: SnackBarAction( action: SnackBarAction(
label: '设置分组', label: '设置分组',
onPressed: setFollowGroup, onPressed: setFollowGroup,