Skip to content

High performance self-hosted photo and video management solution.

fix:(mobile): Updates old IMMICH text from the mobile settings modal (#8906)

martyfuhryb74f8273c2ad
diff --git a/mobile/fonts/SnowburstOne.ttf b/mobile/fonts/SnowburstOne.ttf
deleted file mode 100644
index e29832085c..0000000000
Binary files a/mobile/fonts/SnowburstOne.ttf and /dev/null differ
diff --git a/mobile/lib/shared/ui/app_bar_dialog/app_bar_dialog.dart b/mobile/lib/shared/ui/app_bar_dialog/app_bar_dialog.dart
index 24ee7e693f..89f73c0c64 100644
--- a/mobile/lib/shared/ui/app_bar_dialog/app_bar_dialog.dart
+++ b/mobile/lib/shared/ui/app_bar_dialog/app_bar_dialog.dart
@@ -39,27 +39,24 @@ class ImmichAppBarDialog extends HookConsumerWidget {
);
buildTopRow() {
- return Row(
+ return Stack(
children: [
- InkWell(
- onTap: () => context.pop(),
- child: const Icon(
- Icons.close,
- size: 20,
+ Align(
+ alignment: Alignment.topLeft,
+ child: InkWell(
+ onTap: () => context.pop(),
+ child: const Icon(
+ Icons.close,
+ size: 20,
+ ),
),
),
- Expanded(
- child: Align(
- alignment: Alignment.center,
- child: Text(
- 'IMMICH',
- style: TextStyle(
- fontFamily: 'SnowburstOne',
- fontWeight: FontWeight.bold,
- color: context.primaryColor,
- fontSize: 16,
- ),
- ),
+ Center(
+ child: Image.asset(
+ context.isDarkTheme
+ ? 'assets/immich-text-dark.png'
+ : 'assets/immich-text-light.png',
+ height: 16,
),
),
],
diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml
index b0dd2f6b61..8dcc892a06 100644
--- a/mobile/pubspec.yaml
+++ b/mobile/pubspec.yaml
@@ -105,9 +105,6 @@ flutter:
- assets/
- assets/i18n/
fonts:
- - family: SnowburstOne
- fonts:
- - asset: fonts/SnowburstOne.ttf
- family: Inconsolata
fonts:
- asset: fonts/Inconsolata-Regular.ttf