fix(app): enable Hilt processing for folder selection screens
Fixes #2255 Fixes PASSWORD-STORE-GOOGLE-PLAY-11
This commit is contained in:
parent
6b20376986
commit
6a4c0a223f
2 changed files with 4 additions and 0 deletions
|
@ -14,7 +14,9 @@ import app.passwordstore.R
|
|||
import app.passwordstore.data.repo.PasswordRepository
|
||||
import app.passwordstore.ui.passwords.PASSWORD_FRAGMENT_TAG
|
||||
import app.passwordstore.ui.passwords.PasswordStore
|
||||
import dagger.hilt.android.AndroidEntryPoint
|
||||
|
||||
@AndroidEntryPoint
|
||||
class SelectFolderActivity : AppCompatActivity(R.layout.select_folder_layout) {
|
||||
|
||||
private lateinit var passwordList: SelectFolderFragment
|
||||
|
|
|
@ -23,11 +23,13 @@ import app.passwordstore.util.viewmodel.ListMode
|
|||
import app.passwordstore.util.viewmodel.SearchableRepositoryViewModel
|
||||
import com.github.michaelbull.result.onFailure
|
||||
import com.github.michaelbull.result.runCatching
|
||||
import dagger.hilt.android.AndroidEntryPoint
|
||||
import java.io.File
|
||||
import kotlinx.coroutines.flow.launchIn
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
import me.zhanghai.android.fastscroll.FastScrollerBuilder
|
||||
|
||||
@AndroidEntryPoint
|
||||
class SelectFolderFragment : Fragment(R.layout.password_recycler_view) {
|
||||
|
||||
private val binding by viewBinding(PasswordRecyclerViewBinding::bind)
|
||||
|
|
Loading…
Reference in a new issue