chore: improve share button text color (#3868)

This commit is contained in:
Yijing Huang
2023-11-03 12:09:12 -07:00
committed by GitHub
parent 5f49c1748f
commit bc502c9c5b
5 changed files with 7 additions and 11 deletions

View File

@ -216,13 +216,9 @@ class DatabasePluginWidgetBuilder extends PluginWidgetBuilder {
@override
Widget? get rightBarItem {
return Row(
children: [
DatabaseShareButton(
key: ValueKey(notifier.view.id),
view: notifier.view,
),
],
return DatabaseShareButton(
key: ValueKey(notifier.view.id),
view: notifier.view,
);
}
}

View File

@ -104,7 +104,7 @@ class DatabaseShareActionListState extends State<DatabaseShareActionList> {
buildChild: (controller) {
return RoundedTextButton(
title: LocaleKeys.shareAction_buttonText.tr(),
textColor: Theme.of(context).colorScheme.onSurface,
textColor: Theme.of(context).colorScheme.onPrimary,
onPressed: () => controller.show(),
);
},