-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable code shrinking remove gson
- Loading branch information
Showing
20 changed files
with
404 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ | |
local.properties | ||
/.idea | ||
/.vs | ||
/app | ||
/.kotlin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
app/src/main/java/io/github/chinosk/gakumas/localify/ConfigUpdateListener.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
app/src/main/java/io/github/chinosk/gakumas/localify/hookUtils/MainKeyEventDispatcher.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
app/src/main/java/io/github/chinosk/gakumas/localify/mainUtils/JsonHelper.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package io.github.chinosk.gakumas.localify.mainUtils | ||
|
||
import kotlinx.serialization.json.Json | ||
|
||
val json = Json { | ||
encodeDefaults = true | ||
} |
37 changes: 22 additions & 15 deletions
37
app/src/main/java/io/github/chinosk/gakumas/localify/models/AboutPageConfig.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,31 @@ | ||
package io.github.chinosk.gakumas.localify.models | ||
|
||
data class AboutPageConfig ( | ||
var plugin_repo: String = "https://github.com/chinosk6/gakuen-imas-localify", | ||
var main_contributors: List<MainContributors> = listOf(), | ||
var contrib_img: ContribImg = ContribImg( | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
data class AboutPageConfig( | ||
val plugin_repo: String = "https://github.com/chinosk6/gakuen-imas-localify", | ||
val main_contributors: List<MainContributors> = listOf(), | ||
val contrib_img: ContribImg = ContribImg( | ||
"https://contrib.rocks/image?repo=chinosk6/gakuen-imas-localify", | ||
"https://contrib.rocks/image?repo=chinosk6/GakumasTranslationData") | ||
"https://contrib.rocks/image?repo=chinosk6/GakumasTranslationData" | ||
) | ||
) | ||
|
||
data class MainContributors ( | ||
var name: String, | ||
var links: List<Links> | ||
@Serializable | ||
data class MainContributors( | ||
val name: String, | ||
val links: List<Links> | ||
) | ||
|
||
data class ContribImg ( | ||
var plugin: String, | ||
var translation: String | ||
@Serializable | ||
data class ContribImg( | ||
val plugin: String, | ||
val translation: String | ||
) | ||
|
||
data class Links ( | ||
var name: String, | ||
var link: String | ||
) | ||
@Serializable | ||
data class Links( | ||
val name: String, | ||
val link: String | ||
) |
Oops, something went wrong.