Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-menu committed Aug 21, 2024
1 parent d5c777f commit 1b75e54
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,10 @@ abstract class VisualReaderFragment : BaseReaderFragment(), VisualNavigator.List

private fun showHighlightPopupWithStyle(style: Highlight.Style) =
viewLifecycleOwner.lifecycleScope.launch {
// Get the rect of the current selection to know where to position the highlight
// popup.
(navigator as? SelectableNavigator)?.currentSelection()?.rect?.let { selectionRect ->
showHighlightPopup(selectionRect, style)
// Get the rect of the current selection to know where to position the highlight
// popup.
(navigator as? SelectableNavigator)?.currentSelection()?.rect?.let { selectionRect ->
showHighlightPopup(selectionRect, style)
}
}

Expand Down

0 comments on commit 1b75e54

Please sign in to comment.