Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import android.os.Parcelable
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.LinearLayoutManager
Expand Down Expand Up @@ -343,13 +342,6 @@ open class ContentCardsFragment : Fragment(), SwipeRefreshLayout.OnRefreshListen
*/
protected suspend fun networkUnavailable() {
brazelog(V) { "Displaying network unavailable toast." }
context?.applicationContext?.let { applicationContext ->
Toast.makeText(
applicationContext,
applicationContext.getString(R.string.com_braze_feed_connection_error_title),
Toast.LENGTH_LONG
).show()
}
swapRecyclerViewAdapter(emptyCardsAdapter)
contentCardsSwipeLayout?.isRefreshing = false
}
Expand Down