From 4ddd23dda651779a8be871c5801eaea9542fa2c5 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Tue, 30 Apr 2024 16:06:56 +0200 Subject: [PATCH] change: Correct constructor parameter visibility --- .../main/java/app/pachli/components/report/ReportViewModel.kt | 2 +- app/src/main/java/app/pachli/viewmodel/EditProfileViewModel.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/app/pachli/components/report/ReportViewModel.kt b/app/src/main/java/app/pachli/components/report/ReportViewModel.kt index 3a6bdb8a0..59e725769 100644 --- a/app/src/main/java/app/pachli/components/report/ReportViewModel.kt +++ b/app/src/main/java/app/pachli/components/report/ReportViewModel.kt @@ -50,7 +50,7 @@ import kotlinx.coroutines.launch @HiltViewModel class ReportViewModel @Inject constructor( private val mastodonApi: MastodonApi, - private val statusDisplayOptionsRepository: StatusDisplayOptionsRepository, + statusDisplayOptionsRepository: StatusDisplayOptionsRepository, private val eventHub: EventHub, ) : ViewModel() { diff --git a/app/src/main/java/app/pachli/viewmodel/EditProfileViewModel.kt b/app/src/main/java/app/pachli/viewmodel/EditProfileViewModel.kt index f0cc7ed57..e3ba22795 100644 --- a/app/src/main/java/app/pachli/viewmodel/EditProfileViewModel.kt +++ b/app/src/main/java/app/pachli/viewmodel/EditProfileViewModel.kt @@ -61,7 +61,7 @@ class EditProfileViewModel @Inject constructor( private val mastodonApi: MastodonApi, private val eventHub: EventHub, private val application: Application, - private val instanceInfoRepo: InstanceInfoRepository, + instanceInfoRepo: InstanceInfoRepository, ) : ViewModel() { val profileData = MutableLiveData>()