mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
fix(app): enable Hilt processing for folder selection screens
Fixes #2255 Fixes PASSWORD-STORE-GOOGLE-PLAY-11
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user