Skip to content

Fix deprecated hiltViewModel function#704

Merged
ArnyminerZ merged 2 commits into
devfrom
hilt-deprecations
Sep 12, 2025
Merged

Fix deprecated hiltViewModel function#704
ArnyminerZ merged 2 commits into
devfrom
hilt-deprecations

Conversation

@ArnyminerZ

@ArnyminerZ ArnyminerZ commented Sep 11, 2025

Copy link
Copy Markdown
Member

Purpose

The hiltViewModel function has been moved in the latest version (#702).

See changelog: https://developer.android.com/jetpack/androidx/releases/hilt#1.3.0

Short description

Fixed all deprecations by replacing the imports.

Checklist

  • The PR has a proper title, description and label.
  • I have self-reviewed the PR.
  • I have added documentation to complex functions and functions that can be used by other modules.
  • I have added reasonable tests or consciously decided to not add tests.

Signed-off-by: Arnau Mora <arnyminerz@proton.me>
@ArnyminerZ ArnyminerZ self-assigned this Sep 11, 2025
@ArnyminerZ ArnyminerZ added the refactoring Quality improvement of existing functions label Sep 11, 2025
@ArnyminerZ
ArnyminerZ marked this pull request as ready for review September 11, 2025 10:37
@ArnyminerZ
ArnyminerZ requested a review from sunkup September 11, 2025 10:37
# Conflicts:
#	app/src/main/java/at/bitfire/icsdroid/ui/theme/Theme.kt
@sunkup sunkup added this to the 2.4.2 milestone Sep 11, 2025
@ArnyminerZ
ArnyminerZ merged commit c41c09a into dev Sep 12, 2025
7 checks passed
@ArnyminerZ
ArnyminerZ deleted the hilt-deprecations branch September 12, 2025 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Quality improvement of existing functions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants