refactor: Replace hardcoded monospace font with AppTypography constant

- Updated multiple instances of the 'monospace' font family to use AppTypography.monospaceFontFamily for consistency across the application.
- This change enhances maintainability and ensures a unified typography approach throughout the app.
This commit is contained in:
cogwheel0
2025-10-21 00:09:12 +05:30
parent a0a0d43116
commit d00cbe36cf
6 changed files with 10 additions and 10 deletions

View File

@@ -456,7 +456,7 @@ class ErrorCard extends StatelessWidget {
child: SelectableText(
technicalDetails!,
style: const TextStyle(
fontFamily: 'monospace',
fontFamily: AppTypography.monospaceFontFamily,
fontSize: AppTypography.labelMedium,
),
),
@@ -539,7 +539,7 @@ class ErrorDialog extends StatelessWidget {
SelectableText(
technicalDetails!,
style: const TextStyle(
fontFamily: 'monospace',
fontFamily: AppTypography.monospaceFontFamily,
fontSize: AppTypography.labelMedium,
),
),