use new location pref while injecting scripts
This commit is contained in:
parent
b5ffcb5448
commit
4380111851
@ -225,7 +225,7 @@ public class IITC_WebViewClient extends WebViewClient {
|
||||
}
|
||||
|
||||
// inject the user location script if enabled in settings
|
||||
if (sharedPref.getBoolean("pref_user_loc", false)) {
|
||||
if (Integer.parseInt(sharedPref.getString("pref_user_location_mode", "0")) != 0) {
|
||||
path = path.replace("plugins/", "");
|
||||
loadJS(path + "user-location.user.js", !dev_enabled, view);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user