Skip to content

Commit

Permalink
refactor #605 Remove unused argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastkidjp committed Aug 13, 2020
1 parent 7ccdd36 commit 1cf668d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import androidx.databinding.DataBindingUtil
import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.ViewModelProvider
import androidx.recyclerview.widget.RecyclerView
import jp.toastkid.yobidashi.R
import jp.toastkid.lib.BrowserViewModel
import jp.toastkid.yobidashi.R
import jp.toastkid.yobidashi.browser.bookmark.model.Bookmark
import jp.toastkid.yobidashi.browser.bookmark.model.BookmarkRepository
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import java.util.*
import java.util.Stack

/**
* Bookmark activity's adapter.
Expand Down Expand Up @@ -78,7 +78,7 @@ internal class ActivityAdapter(
ViewModelProvider(it).get(BrowserViewModel::class.java)
}

holder.itemView.setOnLongClickListener { v ->
holder.itemView.setOnLongClickListener {
browserViewModel?.openBackground(bookmark.title, Uri.parse(bookmark.url))
true
}
Expand Down

0 comments on commit 1cf668d

Please sign in to comment.