aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/config
diff options
context:
space:
mode:
authorLorenz <ESs95s3P5z8Pheb>2022-07-23 10:19:23 +0200
committerLorenz <ESs95s3P5z8Pheb>2022-07-23 10:19:23 +0200
commit977991e8cfe61b843c922e380be72a0c72e886b5 (patch)
tree932873e7e1737f42a5ab57ef5d53b6b31cdc56a9 /src/main/java/at/hannibal2/skyhanni/config
parenta9f7b8ec04cb356cbf6512228bfc1cb3623dccf0 (diff)
downloadskyhanni-977991e8cfe61b843c922e380be72a0c72e886b5.tar.gz
skyhanni-977991e8cfe61b843c922e380be72a0c72e886b5.tar.bz2
skyhanni-977991e8cfe61b843c922e380be72a0c72e886b5.zip
moving api key and current pet data into hidden config entry
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/config')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/Features.java5
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/ApiData.java3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java12
3 files changed, 16 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/Features.java b/src/main/java/at/hannibal2/skyhanni/config/Features.java
index a45ad3abd..8b4b66524 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/Features.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/Features.java
@@ -78,10 +78,13 @@ public class Features {
public Misc misc = new Misc();
@Expose
- @Category(name = "Apis", desc = "Api Data")
+ @Category(name = "Api", desc = "Api Data")
public ApiData apiData = new ApiData();
@Expose
@Category(name = "Debug", desc = "Debug and test stuff.")
public Debug debug = new Debug();
+
+ @Expose
+ public Hidden hidden = new Hidden();
}
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/ApiData.java b/src/main/java/at/hannibal2/skyhanni/config/features/ApiData.java
index 86a874fd8..387388bf0 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/ApiData.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/ApiData.java
@@ -7,9 +7,6 @@ import com.google.gson.annotations.Expose;
public class ApiData {
@Expose
- public String apiKey = "";
-
- @Expose
@ConfigOption(name = "Repo Auto Update", desc = "Update the repository on every startup.")
@ConfigEditorBoolean
public boolean repoAutoUpdate = true;
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java b/src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java
new file mode 100644
index 000000000..2c2472917
--- /dev/null
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/Hidden.java
@@ -0,0 +1,12 @@
+package at.hannibal2.skyhanni.config.features;
+
+import com.google.gson.annotations.Expose;
+
+public class Hidden {
+
+ @Expose
+ public String apiKey = "";
+
+ @Expose
+ public String currentPet = "";
+}