Skip to content

Commit

Permalink
zoomed stopwatch and timer UI fixed (#428)
Browse files Browse the repository at this point in the history
* fixed issue #426

* fixed issue #426
  • Loading branch information
tushar11kh authored Feb 9, 2024
1 parent 2a107c6 commit 1abadcb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
12 changes: 3 additions & 9 deletions lib/app/modules/stopwatch/views/stopwatch_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ class StopwatchView extends GetView<StopwatchController> {
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(
height: 55,
width: 70,
Expanded(
child: Center(
child: Text(
controller.result.split(':')[0],
Expand All @@ -73,9 +71,7 @@ class StopwatchView extends GetView<StopwatchController> {
fontWeight: FontWeight.bold,
),
),
SizedBox(
height: 55,
width: 70,
Expanded(
child: Center(
child: Text(
controller.result.split(':')[1],
Expand All @@ -93,9 +89,7 @@ class StopwatchView extends GetView<StopwatchController> {
fontWeight: FontWeight.bold,
),
),
SizedBox(
height: 55,
width: 70,
Expanded(
child: Center(
child: Text(
controller.result.split(':')[2],
Expand Down
12 changes: 3 additions & 9 deletions lib/app/modules/timer/views/timer_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ class TimerView extends GetView<TimerController> {
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
SizedBox(
height: 55,
width: 70,
Expanded(
child: Center(
child: Text(
'$hours',
Expand All @@ -93,9 +91,7 @@ class TimerView extends GetView<TimerController> {
fontWeight: FontWeight.bold,
),
),
SizedBox(
height: 55,
width: 70,
Expanded(
child: Center(
child: Text(
'$minutes',
Expand All @@ -113,9 +109,7 @@ class TimerView extends GetView<TimerController> {
fontWeight: FontWeight.bold,
),
),
SizedBox(
height: 55,
width: 70,
Expanded(
child: Center(
child: Text(
'$seconds',
Expand Down

0 comments on commit 1abadcb

Please sign in to comment.