Serializable object must implement 'readResolve'
This commit is contained in:
parent
a979e3cda5
commit
af212480ae
7 changed files with 7 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ import uy.kohesive.injekt.Injekt
|
|||
import uy.kohesive.injekt.api.get
|
||||
|
||||
object SettingsBrowseScreen : SearchableSettings {
|
||||
private fun readResolve(): Any = SettingsBrowseScreen
|
||||
|
||||
@ReadOnlyComposable
|
||||
@Composable
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ import uy.kohesive.injekt.Injekt
|
|||
import uy.kohesive.injekt.api.get
|
||||
|
||||
object SettingsDataScreen : SearchableSettings {
|
||||
private fun readResolve(): Any = SettingsDataScreen
|
||||
|
||||
val restorePreferenceKeyString = MR.strings.label_backup
|
||||
const val HELP_URL = "https://mihon.app/docs/faq/storage"
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ import kotlin.time.Duration.Companion.minutes
|
|||
import kotlin.time.Duration.Companion.seconds
|
||||
|
||||
object SettingsEhScreen : SearchableSettings {
|
||||
private fun readResolve(): Any = SettingsEhScreen
|
||||
|
||||
@ReadOnlyComposable
|
||||
@Composable
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ import uy.kohesive.injekt.Injekt
|
|||
import uy.kohesive.injekt.api.get
|
||||
|
||||
object SettingsLibraryScreen : SearchableSettings {
|
||||
private fun readResolve(): Any = SettingsLibraryScreen
|
||||
|
||||
@Composable
|
||||
@ReadOnlyComposable
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ import uy.kohesive.injekt.Injekt
|
|||
import uy.kohesive.injekt.api.get
|
||||
|
||||
object SettingsMangadexScreen : SearchableSettings {
|
||||
private fun readResolve(): Any = SettingsMangadexScreen
|
||||
|
||||
@ReadOnlyComposable
|
||||
@Composable
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ import uy.kohesive.injekt.Injekt
|
|||
import uy.kohesive.injekt.api.get
|
||||
|
||||
object SettingsSecurityScreen : SearchableSettings {
|
||||
private fun readResolve(): Any = SettingsSecurityScreen
|
||||
|
||||
@ReadOnlyComposable
|
||||
@Composable
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ import uy.kohesive.injekt.Injekt
|
|||
import uy.kohesive.injekt.api.get
|
||||
|
||||
object SettingsTrackingScreen : SearchableSettings {
|
||||
private fun readResolve(): Any = SettingsTrackingScreen
|
||||
|
||||
@ReadOnlyComposable
|
||||
@Composable
|
||||
|
|
|
|||
Loading…
Reference in a new issue