mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-15 10:26:53 -04:00
Fix linter errors
This commit is contained in:
parent
99a85349a3
commit
e4d0ff13f8
@ -147,7 +147,10 @@ public class KiwixTextToSpeech {
|
||||
}
|
||||
}
|
||||
private Set<String> getFeatures(TextToSpeech tts, Locale locale){
|
||||
return (VERSION.SDK_INT < VERSION_CODES.LOLLIPOP)? tts.getFeatures(locale) : tts.getVoice().getFeatures();
|
||||
if(VERSION.SDK_INT < VERSION_CODES.LOLLIPOP)
|
||||
return tts.getFeatures(locale);
|
||||
else
|
||||
return tts.getVoice().getFeatures();
|
||||
}
|
||||
private void loadURL(WebView webView) {
|
||||
// We use JavaScript to get the content of the page conveniently, earlier making some
|
||||
|
Loading…
x
Reference in New Issue
Block a user