chore(ui): migrate hiltViewModel to its new androidx.hilt.lifecycle.viewmodel.compose package #238

Merged
JMR-dev merged 1 commits from chore-hiltviewmodel-package into main 2026-07-03 17:09:43 +00:00
JMR-dev commented 2026-07-03 16:57:16 +00:00 (Migrated from github.com)

Clears the hiltViewModel(…) deprecation warnings (18 sites / 16 ui/** files) surfaced by the Gradle-warnings investigation.

Pure import swap — androidx.hilt.navigation.compose.hiltViewModel → androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel. The old symbol inline-delegates to the new one, and the new artifact is already transitively on the compile classpath via the pinned hilt-navigation-compose:1.3.0, so no dependency/version change and behaviour is byte-for-byte identical. Call sites unchanged.

Preflight green (build, unit tests, androidTest compile, lint, ktlint, detekt).

Closes #236

🤖 Generated with Claude Code

Clears the `hiltViewModel(…)` deprecation warnings (18 sites / 16 `ui/**` files) surfaced by the Gradle-warnings investigation. Pure **import swap** — `androidx.hilt.navigation.compose.hiltViewModel` → `androidx.hilt.lifecycle.viewmodel.compose.hiltViewModel`. The old symbol `inline`-delegates to the new one, and the new artifact is already transitively on the compile classpath via the pinned `hilt-navigation-compose:1.3.0`, so **no dependency/version change** and behaviour is byte-for-byte identical. Call sites unchanged. Preflight green (build, unit tests, androidTest compile, lint, ktlint, detekt). Closes #236 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.