Skip to content

Commit

Permalink
Fixed settings injection
Browse files Browse the repository at this point in the history
Signed-off-by: Arnau Mora <[email protected]>
  • Loading branch information
ArnyminerZ committed Oct 18, 2023
1 parent 52d7c8c commit 11307ba
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ class OpenSourceFragment: Fragment() {
}


class Model(val settings: SettingsManager): ViewModel() {
@HiltViewModel
class Model @Inject constructor(
val settings: SettingsManager
): ViewModel() {

companion object {
const val SETTING_NEXT_DONATION_POPUP = "time_nextDonationPopup"
Expand Down

0 comments on commit 11307ba

Please sign in to comment.