6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 05cbb505

AuthorNKL<nikolaj.king@gmail.com>
Date2025-01-24 11:29:22 +0100
fix locator issue

Changed files

.../lib/hotel_information/components/hotel_information_list_tile.dart   | 2 +-
 comwell_key_app/lib/utils/locator.dart                                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Diff

diff --git a/comwell_key_app/lib/hotel_information/components/hotel_information_list_tile.dart b/comwell_key_app/lib/hotel_information/components/hotel_information_list_tile.dart
index 8bc135ce..89ec2343 100644
--- a/comwell_key_app/lib/hotel_information/components/hotel_information_list_tile.dart
+++ b/comwell_key_app/lib/hotel_information/components/hotel_information_list_tile.dart
@@ -22,7 +22,7 @@ class HotelInformationListTile extends StatelessWidget {
),
),
title: Text("hotel_information_address".tr()),
- subtitle: Text("hotel.address"),
+ subtitle: const Text("hotel.address"),
trailing: SvgPicture.asset('assetName'),
);
}
diff --git a/comwell_key_app/lib/utils/locator.dart b/comwell_key_app/lib/utils/locator.dart
index ef5968e5..83886e1c 100644
--- a/comwell_key_app/lib/utils/locator.dart
+++ b/comwell_key_app/lib/utils/locator.dart
@@ -33,6 +33,6 @@ void setupLocator() {
() => PreregistrationRepository());
locator.registerSingleton<ComwellTracking>(ComwellTracking());
locator.registerSingleton<ComwellDatabase>(ComwellDatabase());
- locator.registerSingleton<ComwellTracking>(ComwellTracking());
+
}
}