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:
@@ -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,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user