MCPcopy Create free account
hub / github.com/FabricMC/Matcher / saveTheme

Method saveTheme

src/main/java/matcher/config/Config.java:100–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 }
99
100 public static void saveTheme() {
101 Preferences root = Preferences.userRoot().node(userPrefFolder);
102
103 try {
104 root.put(themeKey, getTheme().getId());
105 root.flush();
106 } catch (BackingStoreException e) {
107 // ignored
108 }
109 }
110
111 public static void saveAsLast() {
112 Preferences root = Preferences.userRoot().node(userPrefFolder);

Callers 1

initMethod · 0.95

Calls 2

getThemeMethod · 0.95
getIdMethod · 0.65

Tested by

no test coverage detected