public static void setTheme(String name, String licenseKey, String logoString) { Properties props = (Properties) themesMap.get(name); if (props != null) { props.put("licenseKey", licenseKey); props.put("logoString", logoString); setTheme(props); if (myTheme != null) { AbstractTheme.setInternalName(name); } } }
public static void setTheme(String name) { setTheme((Properties) themesMap.get(name)); if (myTheme != null) { AbstractTheme.setInternalName(name); } }