Skip to content

Commit

Permalink
refactor #605 remove useless elvis operator from BookmarkFragment.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastkidjp committed Aug 22, 2020
1 parent 9c0980d commit 0145566
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class BookmarkFragment: Fragment(),
CoroutineScope(Dispatchers.Main).launch(disposables) {
BookmarkInsertion(
binding.root.context,
title ?: "", // This value is always non-null, because it has checked at above statement.
title,
parent = adapter.currentFolderName(),
folder = true
).insert()
Expand Down

0 comments on commit 0145566

Please sign in to comment.