Skip to content

Commit d5343b9

Browse files
committed
chore: Add band view for settings home page
1 parent 2390303 commit d5343b9

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

lib/screens/settings_home/settings_home.dart

+10-3
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,18 @@ class _SettingsHomePageState extends State<SettingsHomePage> {
3131
value: _layoutManager,
3232
child: PageContentFrame(
3333
child: BreakpointBuilder(
34-
breakpoints: const [DeviceType.dock, DeviceType.zune, DeviceType.tv],
34+
breakpoints: const [
35+
DeviceType.band,
36+
DeviceType.dock,
37+
DeviceType.zune,
38+
DeviceType.tv
39+
],
3540
builder: (context, activeBreakpoint) {
36-
if (activeBreakpoint == DeviceType.dock) {
41+
if (activeBreakpoint == DeviceType.dock ||
42+
activeBreakpoint == DeviceType.band) {
3743
return BandScreenLibraryHomeListView(
38-
layoutManager: _layoutManager);
44+
layoutManager: _layoutManager,
45+
);
3946
}
4047

4148
if (activeBreakpoint == DeviceType.zune) {

0 commit comments

Comments
 (0)