Merge pull request #4286 from ByteHamster/fix-click-timecode
Fixed clicking timecodes
This commit is contained in:
commit
3a5ec596b4
|
@ -68,7 +68,7 @@ public class ShownotesWebView extends WebView implements View.OnLongClickListene
|
|||
@Override
|
||||
public boolean shouldOverrideUrlLoading(WebView view, String url) {
|
||||
if (Timeline.isTimecodeLink(url) && timecodeSelectedListener != null) {
|
||||
timecodeSelectedListener.accept(Timeline.getTimecodeLinkTime(selectedUrl));
|
||||
timecodeSelectedListener.accept(Timeline.getTimecodeLinkTime(url));
|
||||
} else {
|
||||
IntentUtils.openInBrowser(getContext(), url);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue