diff options
author | bunnei <bunneidev@gmail.com> | 2023-03-12 01:20:24 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:42 +0200 |
commit | c385b2b07b59c21945028ea0116fe98eefb30c1a (patch) | |
tree | b69fde9001904c7a9ded063e30e03a09ae641bfb /src | |
parent | android: Add license identifier (diff) | |
download | yuzu-c385b2b07b59c21945028ea0116fe98eefb30c1a.tar yuzu-c385b2b07b59c21945028ea0116fe98eefb30c1a.tar.gz yuzu-c385b2b07b59c21945028ea0116fe98eefb30c1a.tar.bz2 yuzu-c385b2b07b59c21945028ea0116fe98eefb30c1a.tar.lz yuzu-c385b2b07b59c21945028ea0116fe98eefb30c1a.tar.xz yuzu-c385b2b07b59c21945028ea0116fe98eefb30c1a.tar.zst yuzu-c385b2b07b59c21945028ea0116fe98eefb30c1a.zip |
Diffstat (limited to 'src')
4 files changed, 4 insertions, 4 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt index 241a133ac..f0f270c76 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt @@ -8,5 +8,5 @@ class BooleanSetting( section: String, var value: Boolean ) : Setting(key, section) { - override val valueAsString = if (value) "True" else "False" + override val valueAsString get() = if (value) "True" else "False" } diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt index 47263dc4b..f78242a47 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt @@ -8,5 +8,5 @@ class FloatSetting( section: String, var value: Float ) : Setting(key, section) { - override val valueAsString = value.toString() + override val valueAsString get() = value.toString() } diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt index a765feaca..32d9b8b85 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt @@ -8,5 +8,5 @@ class IntSetting( section: String, var value: Int ) : Setting(key, section) { - override val valueAsString = value.toString() + override val valueAsString get() = value.toString() } diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt index 1974660e9..c78be39d7 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt @@ -8,5 +8,5 @@ class StringSetting( section: String, var value: String ) : Setting(key, section) { - override var valueAsString = value + override val valueAsString get() = value } |