Skip to content

Conversation

@naveensingh
Copy link
Member

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds validation logic to detect when a custom font file is missing and automatically reset the font settings to the system default. This prevents the app from being stuck with invalid font settings when a custom font file is deleted or unavailable.

Changes:

  • Modified font syncing logic to verify custom font availability before applying settings
  • Added validateFontSettings() function to detect and reset missing custom fonts
  • Added necessary imports for Typeface and FONT_TYPE_SYSTEM_DEFAULT constant

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@naveensingh naveensingh merged commit e3890f1 into main Jan 25, 2026
11 checks passed
@naveensingh naveensingh deleted the naveensingh/reset-font-explicitly branch January 25, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants