Skip to content

Commit

Permalink
change primary button height (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sidhdhi-p authored Jun 24, 2024
1 parent d859914 commit 232529e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions khelo/lib/ui/flow/matches/add_match/add_match_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class AddMatchViewNotifier extends StateNotifier<AddMatchViewState> {

AddMatchViewNotifier(this._matchService, String? userId)
: super(AddMatchViewState(
totalOverController: TextEditingController(),
overPerBowlerController: TextEditingController(),
totalOverController: TextEditingController(text: "10"),
overPerBowlerController: TextEditingController(text: "2"),
cityController: TextEditingController(),
groundController: TextEditingController(),
matchTime: DateTime.now(),
Expand Down
4 changes: 2 additions & 2 deletions style/lib/button/primary_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class PrimaryButton extends StatelessWidget {
enabled: tappable,
child: Container(
width: expanded ? double.infinity : null,
constraints: BoxConstraints(
minHeight: expanded ? 48 : 36,
constraints: const BoxConstraints(
minHeight: 48,
minWidth: 88,
),
padding: edgeInsets,
Expand Down

0 comments on commit 232529e

Please sign in to comment.