mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-21 15:02:21 +02:00
fix(mornye): hide custom font setting icon
This commit is contained in:
1 parent
01083c473b
commit
da8dc43c52
1 file changed
+2
-1
@@ -4,6 +4,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
import 'package:spotiflac_android/l10n/l10n.dart';
|
||||
import 'package:spotiflac_android/providers/theme_provider.dart';
|
||||
import 'package:spotiflac_android/services/custom_font_service.dart';
|
||||
import 'package:spotiflac_android/theme/mornye_theme.dart';
|
||||
|
||||
class CustomFontSetting extends ConsumerStatefulWidget {
|
||||
const CustomFontSetting({super.key});
|
||||
@@ -46,7 +47,7 @@ class _CustomFontSettingState extends ConsumerState<CustomFontSetting> {
|
||||
Widget build(BuildContext context) {
|
||||
final theme = ref.watch(themeProvider);
|
||||
return ListTile(
|
||||
leading: const Icon(Icons.text_fields),
|
||||
leading: context.isMornye ? null : const Icon(Icons.text_fields),
|
||||
title: Text(context.l10n.appearanceCustomFont),
|
||||
subtitle: Text(
|
||||
theme.customFontId.isEmpty
|
||||
|
||||
Reference in new issue
Block a user