Skip to content

Commit

Permalink
Merge pull request #777 from sergio-costas/allow-to-hide-pages-not-ne…
Browse files Browse the repository at this point in the history
…eded-in-core-desktop

 Allow to hide pages don't needed in core desktop
  • Loading branch information
sergio-costas committed Jun 25, 2024
2 parents 1682596 + 25c6af3 commit 3d2b1a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,14 @@ theme:
# - error: The page that shows when something goes wrong
#
# Init pages (for oem only)
# - identity: Create the first-user account
# - ubuntu-pro: Enable Ubuntu Pro
# - identity: Create the first-user account
# - ubuntu-pro-onboarding: Enable Ubuntu Pro
# - eula: Accept the OEM provided EULA
# - privacy: Enable location services
# - timezone: Set the timezone
# - telemetry: Enable sending telemetry
#
# Do note that currently only accessibility, try-or-install, refresh and source-selection can be hidden.
# Do note that currently only ubuntu-pro-onboarding, eula, accessibility, try-or-install, refresh and source-selection can be hidden.
pages:
<page-name>:
image: <image-name>
Expand Down
4 changes: 2 additions & 2 deletions packages/ubuntu_init/lib/src/init_step.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import 'package:ubuntu_wizard/ubuntu_wizard.dart';

enum InitStep with RouteName {
locale(LocalePage.new),
accessibility(AccessibilityPage.new),
accessibility(AccessibilityPage.new, allowedToHide: true),
keyboard(KeyboardPage.new),
network(NetworkPage.new),
eula(EulaPage.new, allowedToHide: true),
identity(IdentityPage.new),
ubuntuProOnboarding(UbuntuProOnboardingPage.new),
ubuntuProOnboarding(UbuntuProOnboardingPage.new, allowedToHide: true),
ubuntuPro(UbuntuProPage.new, discreteStep: false),
ubuntuProSuccess(UbuntuProSuccessAttachPage.new,
hasPrevious: false, discreteStep: false),
Expand Down

0 comments on commit 3d2b1a8

Please sign in to comment.