💄 Optimize font color on app bar in some pages

This commit is contained in:
2024-12-12 22:33:10 +08:00
parent 1347aacbc5
commit bb5fe9c380
7 changed files with 23 additions and 29 deletions

View File

@ -201,7 +201,6 @@ class _PostPublisherScreenState extends State<PostPublisherScreen> with SingleTi
setState(() => _isWorking = true);
try {
final sn = context.read<SnNetworkProvider>();
final rel = context.read<SnRelationshipProvider>();
await rel.updateRelationship(_account!.id, 1, _accountRelationship?.permNodes ?? {});
if (!mounted) return;
@ -288,7 +287,7 @@ class _PostPublisherScreenState extends State<PostPublisherScreen> with SingleTi
TextSpan(
text: _publisher!.nick,
style: Theme.of(context).textTheme.titleLarge!.copyWith(
color: Colors.white,
color: Theme.of(context).appBarTheme.foregroundColor!,
shadows: labelShadows,
),
),