mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-15 02:36:12 -04:00
- Replace multiple StateFlows with single ProfileEditorState data class - Store ByteArray keys as hex strings to enable proper equality comparison - Fix race conditions in state initialization by setting initial and current state atomically - Simplify change detection logic to simple data class comparison The issue was caused by: 1. ByteArray types not implementing proper equals() (compared by reference) 2. Race conditions between multiple StateFlow updates 3. Complex change detection logic with timing issues Now uses atomic state management with proper value-based equality.