mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 15:15:51 +03:00
Fix repository usage
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
03093cc5cb
commit
7390417e64
1 changed files with 5 additions and 2 deletions
|
@ -103,8 +103,11 @@ class TrashbinActivity :
|
|||
}
|
||||
}
|
||||
|
||||
val trashRepository = RemoteTrashbinRepository(user.orElse(accountProvider!!.user), clientFactory)
|
||||
trashbinPresenter = TrashbinPresenter(trashRepository, this)
|
||||
clientFactory?.let {
|
||||
val trashRepository = RemoteTrashbinRepository(user.orElse(accountProvider!!.user), it)
|
||||
trashbinPresenter = TrashbinPresenter(trashRepository, this)
|
||||
}
|
||||
|
||||
binding = TrashbinActivityBinding.inflate(layoutInflater)
|
||||
|
||||
setContentView(binding.root)
|
||||
|
|
Loading…
Reference in a new issue