Fixed clicking timecodes
This commit is contained in:
parent
8d1cc82258
commit
83d48773de
|
@ -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