Merge pull request #7412 from litetex/code-cleanup

Some code cleanup(s)
This commit is contained in:
Stypox 2021-11-23 08:59:34 +01:00 committed by GitHub
commit 3427253824
5 changed files with 39 additions and 59 deletions

View file

@ -29,6 +29,7 @@ import android.graphics.drawable.Drawable
import android.graphics.drawable.LayerDrawable
import android.os.Bundle
import android.os.Parcelable
import android.util.Log
import android.view.LayoutInflater
import android.view.Menu
import android.view.MenuInflater
@ -504,7 +505,7 @@ class FeedFragment : BaseStateFragment<FeedState>() {
errors.subList(i + 1, errors.size)
)
},
{ throwable -> throwable.printStackTrace() }
{ throwable -> Log.e(TAG, "Unable to process", throwable) }
)
return // this will be called on the remaining errors by handleFeedNotAvailable()
}