diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-03-07 23:21:00 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:36 +0200 |
commit | f0a9fcf1009579435a3964550f421d21270b9cb2 (patch) | |
tree | 19628f6a295b05d4c5dff51303d1c2a59179823a /src | |
parent | android: Convert SettingSection to Kotlin (diff) | |
download | yuzu-f0a9fcf1009579435a3964550f421d21270b9cb2.tar yuzu-f0a9fcf1009579435a3964550f421d21270b9cb2.tar.gz yuzu-f0a9fcf1009579435a3964550f421d21270b9cb2.tar.bz2 yuzu-f0a9fcf1009579435a3964550f421d21270b9cb2.tar.lz yuzu-f0a9fcf1009579435a3964550f421d21270b9cb2.tar.xz yuzu-f0a9fcf1009579435a3964550f421d21270b9cb2.tar.zst yuzu-f0a9fcf1009579435a3964550f421d21270b9cb2.zip |
Diffstat (limited to 'src')
2 files changed, 9 insertions, 23 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.java deleted file mode 100644 index 0b5128382..000000000 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.yuzu.yuzu_emu.features.settings.model; - -public final class StringSetting extends Setting { - private String mValue; - - public StringSetting(String key, String section, String value) { - super(key, section); - mValue = value; - } - - public String getValue() { - return mValue; - } - - public void setValue(String value) { - mValue = value; - } - - @Override - public String getValueAsString() { - return mValue; - } -} 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 new file mode 100644 index 000000000..8f477b3d1 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt @@ -0,0 +1,9 @@ +package org.yuzu.yuzu_emu.features.settings.model + +class StringSetting( + key: String, + section: String, + var value: String +) : Setting(key, section) { + override var valueAsString = value +} |