mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-29 07:34:13 +01:00
feat(equalizer): desktop scroll arrows on the band faders
The equalizer fader row gets desktop scroll arrows.
This commit is contained in:
1 parent
dd583f3f96
commit
e9e7c0037f
2 files changed
+12
-8
No files matched your search
@@ -26,6 +26,7 @@ import 'package:mornye/widgets/app_sliver_header.dart';
|
||||
import 'package:mornye/widgets/app_switch.dart';
|
||||
import 'package:mornye/widgets/app_text_field.dart';
|
||||
import 'package:mornye/widgets/beta_badge.dart';
|
||||
import 'package:mornye/widgets/desktop/desktop_scroll_arrows.dart';
|
||||
import 'package:mornye/widgets/expressive_button.dart';
|
||||
import 'package:mornye/widgets/expressive_icon_button.dart';
|
||||
import 'package:mornye/widgets/mornye_chrome.dart';
|
||||
@@ -239,7 +240,6 @@ class _EqualizerScreenState extends ConsumerState<EqualizerScreen> {
|
||||
message: message,
|
||||
icon: Icons.error_outline,
|
||||
tone: SettingsInfoTone.error,
|
||||
glass: true,
|
||||
);
|
||||
},
|
||||
),
|
||||
|
||||
@@ -48,7 +48,7 @@ class _DetailValue extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 6),
|
||||
AppIcon(Icons.chevron_right, size: 20, color: secondary),
|
||||
AppIcon.adaptive(Icons.chevron_right, size: 20, color: secondary),
|
||||
],
|
||||
);
|
||||
}
|
||||
@@ -500,12 +500,16 @@ class _BandEditor extends ConsumerWidget {
|
||||
),
|
||||
),
|
||||
scrolls
|
||||
? SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: tokens.gapSm,
|
||||
),
|
||||
child: faders,
|
||||
? DesktopScrollArrows(
|
||||
builder: (context, controller) =>
|
||||
SingleChildScrollView(
|
||||
controller: controller,
|
||||
scrollDirection: Axis.horizontal,
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: tokens.gapSm,
|
||||
),
|
||||
child: faders,
|
||||
),
|
||||
)
|
||||
: Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
|
||||
Reference in new issue
Block a user