Skip to content

Commit

Permalink
Fix buttonColor regression
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed Dec 9, 2022
1 parent fbb807d commit 7574bca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/routes/charge/pos_invoice_items_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ class PosInvoiceItemsView extends StatelessWidget {
child: Icon(
Icons.add,
),
backgroundColor: themeData.buttonColor,
foregroundColor: themeData.textTheme.button.color,
backgroundColor: Colors.white,
foregroundColor: themeData.primaryColorLight,
onPressed: () => Navigator.of(context).pushNamed("/add_item"),
),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/routes/charge/successful_payment.dart
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class SuccessfulPaymentRouteState extends State<SuccessfulPaymentRoute>
padding: const EdgeInsets.only(top: 20, bottom: 40),
child: Container(
decoration: new BoxDecoration(
color: themeData.buttonColor,
color: Colors.white,
shape: BoxShape.circle,
),
child: Image(
Expand Down
2 changes: 1 addition & 1 deletion lib/theme_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ final ThemeData darkTheme = ThemeData(
dialogBackgroundColor: Colors.transparent,
errorColor: Color(0xFFeddc97),
dividerColor: Color(0x337aa5eb),
buttonColor: Colors.white,
buttonColor: Color(0xFF0085fb),
cardColor: Color(0xFF121212),
highlightColor: Color(0xFF0085fb),
textTheme: TextTheme(
Expand Down

0 comments on commit 7574bca

Please sign in to comment.