Skip to content

Commit f88abd2

Browse files
authored
Merge pull request #123 from MostroP2P/chebizarro/issue120
Bug when selecting the premium or discount for an order
2 parents 921772a + 47fa171 commit f88abd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/features/order/widgets/premium_section.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ class PremiumSection extends StatelessWidget {
3535
activeTrackColor: AppTheme.purpleAccent,
3636
inactiveTrackColor: AppTheme.backgroundInactive,
3737
thumbColor: AppTheme.textPrimary,
38-
overlayColor: AppTheme.purpleAccent.withOpacity(0.2),
38+
overlayColor: AppTheme.purpleAccent.withValues(alpha: 0.2),
3939
trackHeight: 4,
4040
),
4141
child: Slider(
4242
key: const Key('premiumSlider'),
4343
value: value,
4444
min: -10,
4545
max: 10,
46-
divisions: 200,
46+
divisions: 20,
4747
onChanged: onChanged,
4848
),
4949
),

0 commit comments

Comments
 (0)