Skip to content

Code Cleanup and Technical Debt Reduction #6

@jsattler

Description

@jsattler

Perform a general cleanup of the codebase to improve maintainability.

Areas to improve:

  • Magic Strings: SettingsStore uses hardcoded string keys for UserDefaults. Move these to a private enum Keys.
  • ViewModel Responsibilities: RecorderViewModel handles permissions, notifications, and timer logic. Consider extracting a NotificationService and TimerService.
  • Magic Numbers: RecorderViewModel.getContentSize has hardcoded fallback resolution (1920x1080).
  • Error Handling: Ensure AssetWriter errors are propagated clearly to the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions