mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 08:04:45 +00:00
The KMP lifecycle-viewmodel artifact used by commons doesn't expose the create(Class<T>) ViewModelProvider.Factory override (only the desktop/JVM target hit this), so the factory now lives in amethyst alongside the viewModel() call, mirroring the NestViewModel pattern. The commons ViewModel keeps only platform-agnostic state. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpNmN8CvP6HnEsdTGAjVUr