Skip to content

Commit

Permalink
Alphabetical order for service initializations
Browse files Browse the repository at this point in the history
  • Loading branch information
sharyari committed Jan 2, 2024
1 parent b23f7db commit 148a2a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ubuntu_bootstrap/lib/installer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ Future<void> runInstallerApp(
);
tryRegisterService<DesktopService>(GnomeService.new);
tryRegisterServiceFactory<GSettings, String>(GSettings.new);
tryRegisterService(
() => PageConfigService(config: tryGetService<ConfigService>()));
tryRegisterService<InstallerService>(() => InstallerService(
getService<SubiquityClient>(),
pageConfig: tryGetService<PageConfigService>()));
Expand All @@ -90,6 +88,8 @@ Future<void> runInstallerApp(
() => SubiquityLocaleService(getService<SubiquityClient>()));
tryRegisterService<NetworkService>(
() => SubiquityNetworkService(getService<SubiquityClient>()));
tryRegisterService(
() => PageConfigService(config: tryGetService<ConfigService>()));
tryRegisterService(() => PostInstallService('/tmp/$baseName.conf'));
tryRegisterService(PowerService.new);
tryRegisterService(ProductService.new);
Expand Down

0 comments on commit 148a2a8

Please sign in to comment.