Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: text button's text style (#6559)
Richard Shiue2447b3410738
diff --git a/frontend/appflowy_flutter/packages/flowy_infra_ui/lib/style_widget/button.dart b/frontend/appflowy_flutter/packages/flowy_infra_ui/lib/style_widget/button.dartindex 38469e1c6c..bc86961858 100644--- a/frontend/appflowy_flutter/packages/flowy_infra_ui/lib/style_widget/button.dart+++ b/frontend/appflowy_flutter/packages/flowy_infra_ui/lib/style_widget/button.dart@@ -424,14 +424,14 @@ class FlowyTextButton extends StatelessWidget {),),textStyle: WidgetStateProperty.all(- TextStyle(- fontWeight: fontWeight ?? FontWeight.w500,- fontSize: fontSize,- color: fontColor ?? Theme.of(context).colorScheme.onPrimary,- decoration: decoration,- fontFamily: fontFamily,- height: lineHeight ?? 1.1,- ),+ Theme.of(context).textTheme.bodyMedium?.copyWith(+ fontWeight: fontWeight ?? FontWeight.w500,+ fontSize: fontSize,+ color: fontColor ?? Theme.of(context).colorScheme.onPrimary,+ decoration: decoration,+ fontFamily: fontFamily,+ height: lineHeight ?? 1.1,+ ),),backgroundColor: WidgetStateProperty.resolveWith((states) {