1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-09-29 07:20:50 +00:00

Fix SonarLint

This commit is contained in:
TobiGr 2023-01-16 23:20:50 +01:00
parent 640d4b0280
commit e9fcad4787

View File

@ -36,7 +36,6 @@ import android.view.MenuItem
import android.view.View import android.view.View
import android.view.ViewGroup import android.view.ViewGroup
import android.widget.Button import android.widget.Button
import androidx.annotation.Nullable
import androidx.appcompat.app.AlertDialog import androidx.appcompat.app.AlertDialog
import androidx.appcompat.content.res.AppCompatResources import androidx.appcompat.content.res.AppCompatResources
import androidx.core.content.edit import androidx.core.content.edit
@ -500,7 +499,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
private fun handleFeedNotAvailable( private fun handleFeedNotAvailable(
subscriptionEntity: SubscriptionEntity, subscriptionEntity: SubscriptionEntity,
@Nullable cause: Throwable?, cause: Throwable?,
nextItemsErrors: List<Throwable> nextItemsErrors: List<Throwable>
) { ) {
val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(requireContext()) val sharedPreferences = PreferenceManager.getDefaultSharedPreferences(requireContext())