mod: up设置分组适配暗黑模式
This commit is contained in:
@ -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,
|
||||||
|
Reference in New Issue
Block a user