mirror of
https://github.com/developersu/ns-usbloader.git
synced 2025-05-13 14:44:48 -04:00
v0.6 GoldLeaf v0.6.1 support
This commit is contained in:
parent
d34d522f46
commit
cd73968306
20 changed files with 1076 additions and 597 deletions
|
@ -25,7 +25,8 @@ public class AppPreferences {
|
|||
String HostPort,
|
||||
String HostExtra,
|
||||
boolean autoCheck4Updates,
|
||||
boolean tinfoilXciSupport
|
||||
boolean tinfoilXciSupport,
|
||||
boolean nspFileFilterForGl
|
||||
){
|
||||
setProtocol(Protocol);
|
||||
setRecent(PreviouslyOpened);
|
||||
|
@ -41,6 +42,7 @@ public class AppPreferences {
|
|||
setHostExtra(HostExtra);
|
||||
setAutoCheckUpdates(autoCheck4Updates);
|
||||
setTfXCI(tinfoilXciSupport);
|
||||
setNspFileFilterGL(nspFileFilterForGl);
|
||||
}
|
||||
public String getTheme(){
|
||||
String theme = preferences.get("THEME", "/res/app_dark.css"); // Don't let user to change settings manually
|
||||
|
@ -109,4 +111,7 @@ public class AppPreferences {
|
|||
|
||||
public String getLanguage(){return preferences.get("USR_LANG", Locale.getDefault().getISO3Language());}
|
||||
public void setLanguage(String langStr){preferences.put("USR_LANG", langStr);}
|
||||
|
||||
public boolean getNspFileFilterGL(){return preferences.getBoolean("GL_NSP_FILTER", false); }
|
||||
public void setNspFileFilterGL(boolean prop){preferences.putBoolean("GL_NSP_FILTER", prop);}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue