add: option 'docs source'
This commit is contained in:
@@ -146,7 +146,12 @@ public class Pref {
|
||||
}
|
||||
|
||||
public static String getDocumentationUrl() {
|
||||
return "file:///android_asset/docs/";
|
||||
String docSource = def().getString(getString(R.string.key_documentation_source), null);
|
||||
if (docSource == null || docSource.equals("Local")) {
|
||||
return "file:///android_asset/docs/";
|
||||
} else {
|
||||
return "https://hyb1996.github.io/AutoJs-Docs/";
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isFloatingMenuShown() {
|
||||
|
||||
Reference in New Issue
Block a user