1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +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(
alignment: Alignment.topLeft,
child: InkWell(
onTap: () => context.pop(), onTap: () => context.pop(),
child: const Icon( child: const Icon(
Icons.close, Icons.close,
size: 20, 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,
), ),
), ),
], ],

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