mirror of
https://github.com/koloideal/Casha.git
synced 2026-06-10 10:25:28 +03:00
stableee
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../../../core/constants.dart';
|
||||
import '../../../shared/models/transaction.dart';
|
||||
|
||||
class SubmitButton extends StatelessWidget {
|
||||
@@ -21,7 +22,9 @@ class SubmitButton extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final typeColor = type == TransactionType.income
|
||||
final typeColor = type == TransactionType.transfer
|
||||
? AppColors.accent
|
||||
: type == TransactionType.income
|
||||
? const Color(0xFF4CAF8C)
|
||||
: const Color(0xFFE05C6B);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user