1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 06:31:58 +00:00

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

* fix: Removes old IMMICH text from the mobile settings modal

Removed old Snowburst One font from the pubspec

Removes SnowburstOne.ttf file

* Uses immich text now
This commit is contained in:
martyfuhry 2024-04-18 15:11:00 -04:00 committed by GitHub
parent 8573c84605
commit b74f8273c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 21 deletions

Binary file not shown.

View file

@ -39,27 +39,24 @@ class ImmichAppBarDialog extends HookConsumerWidget {
); );
buildTopRow() { buildTopRow() {
return Row( return Stack(
children: [ children: [
InkWell( Align(
onTap: () => context.pop(), alignment: Alignment.topLeft,
child: const Icon( child: InkWell(
Icons.close, onTap: () => context.pop(),
size: 20, child: const Icon(
Icons.close,
size: 20,
),
), ),
), ),
Expanded( Center(
child: Align( child: Image.asset(
alignment: Alignment.center, context.isDarkTheme
child: Text( ? 'assets/immich-text-dark.png'
'IMMICH', : 'assets/immich-text-light.png',
style: TextStyle( height: 16,
fontFamily: 'SnowburstOne',
fontWeight: FontWeight.bold,
color: context.primaryColor,
fontSize: 16,
),
),
), ),
), ),
], ],

View file

@ -105,9 +105,6 @@ flutter:
- assets/ - assets/
- assets/i18n/ - assets/i18n/
fonts: fonts:
- family: SnowburstOne
fonts:
- asset: fonts/SnowburstOne.ttf
- family: Inconsolata - family: Inconsolata
fonts: fonts:
- asset: fonts/Inconsolata-Regular.ttf - asset: fonts/Inconsolata-Regular.ttf