Skip to content

Commit

Permalink
chore: Add band view for settings home page
Browse files Browse the repository at this point in the history
  • Loading branch information
Losses committed Oct 22, 2024
1 parent 2390303 commit d5343b9
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions lib/screens/settings_home/settings_home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,18 @@ class _SettingsHomePageState extends State<SettingsHomePage> {
value: _layoutManager,
child: PageContentFrame(
child: BreakpointBuilder(
breakpoints: const [DeviceType.dock, DeviceType.zune, DeviceType.tv],
breakpoints: const [
DeviceType.band,
DeviceType.dock,
DeviceType.zune,
DeviceType.tv
],
builder: (context, activeBreakpoint) {
if (activeBreakpoint == DeviceType.dock) {
if (activeBreakpoint == DeviceType.dock ||
activeBreakpoint == DeviceType.band) {
return BandScreenLibraryHomeListView(
layoutManager: _layoutManager);
layoutManager: _layoutManager,
);
}

if (activeBreakpoint == DeviceType.zune) {
Expand Down

0 comments on commit d5343b9

Please sign in to comment.