Browse Source

Remove unused param

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
e23f72f4d1
  1. 2
      app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.kt
  2. 2
      app/src/main/java/awais/instagrabber/viewmodels/ProfileFragmentViewModel.kt

2
app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.kt

@ -32,7 +32,6 @@ import awais.instagrabber.customviews.PrimaryActionModeCallback
import awais.instagrabber.customviews.RamboTextViewV2
import awais.instagrabber.customviews.RamboTextViewV2.*
import awais.instagrabber.databinding.FragmentProfileBinding
import awais.instagrabber.db.repositories.AccountRepository
import awais.instagrabber.db.repositories.FavoriteRepository
import awais.instagrabber.dialogs.ConfirmDialogFragment
import awais.instagrabber.dialogs.ConfirmDialogFragment.ConfirmDialogFragmentCallback
@ -312,7 +311,6 @@ class ProfileFragment : Fragment(), OnRefreshListener, ConfirmDialogFragmentCall
StoriesRepository.getInstance(),
MediaRepository.getInstance(),
GraphQLRepository.getInstance(),
AccountRepository.getInstance(requireContext()),
FavoriteRepository.getInstance(requireContext()),
DirectMessagesRepository.getInstance(),
if (isLoggedIn) DirectMessagesManager else null,

2
app/src/main/java/awais/instagrabber/viewmodels/ProfileFragmentViewModel.kt

@ -5,7 +5,6 @@ import android.util.Log
import androidx.lifecycle.*
import androidx.savedstate.SavedStateRegistryOwner
import awais.instagrabber.db.entities.Favorite
import awais.instagrabber.db.repositories.AccountRepository
import awais.instagrabber.db.repositories.FavoriteRepository
import awais.instagrabber.managers.DirectMessagesManager
import awais.instagrabber.models.Resource
@ -601,7 +600,6 @@ class ProfileFragmentViewModelFactory(
private val storiesRepository: StoriesRepository,
private val mediaRepository: MediaRepository,
private val graphQLRepository: GraphQLRepository,
private val accountRepository: AccountRepository,
private val favoriteRepository: FavoriteRepository,
private val directMessagesRepository: DirectMessagesRepository,
private val messageManager: DirectMessagesManager?,

Loading…
Cancel
Save