Skip to content

Commit

Permalink
feat: make Config serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
trindadedev13 committed Oct 26, 2024
1 parent 49385b7 commit d0299e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion robok-gui/src/main/java/org/robok/easyui/config/Config.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package org.robok.easyui.config

data class Config(val orientation: String, val style: String) {
import java.io.Serializable

data class Config(val orientation: String, val style: String): Serializable {
companion object {
fun getName(): String = "config"
}
Expand Down

0 comments on commit d0299e6

Please sign in to comment.