diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-03-07 22:59:13 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:36 +0200 |
commit | b98aaf16353a05da5a069ebbedbd89de406458ab (patch) | |
tree | 1e4505b25932219fa1d091d0517d1f4fa9501ccd | |
parent | android: Convert StringSingleChoiceSetting to Kotlin (diff) | |
download | yuzu-b98aaf16353a05da5a069ebbedbd89de406458ab.tar yuzu-b98aaf16353a05da5a069ebbedbd89de406458ab.tar.gz yuzu-b98aaf16353a05da5a069ebbedbd89de406458ab.tar.bz2 yuzu-b98aaf16353a05da5a069ebbedbd89de406458ab.tar.lz yuzu-b98aaf16353a05da5a069ebbedbd89de406458ab.tar.xz yuzu-b98aaf16353a05da5a069ebbedbd89de406458ab.tar.zst yuzu-b98aaf16353a05da5a069ebbedbd89de406458ab.zip |
Diffstat (limited to '')
2 files changed, 15 insertions, 21 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.java deleted file mode 100644 index 3f5b3c8d0..000000000 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.java +++ /dev/null @@ -1,21 +0,0 @@ -package org.yuzu.yuzu_emu.features.settings.model.view; - -import org.yuzu.yuzu_emu.features.settings.model.Setting; - -public final class SubmenuSetting extends SettingsItem { - private String mMenuKey; - - public SubmenuSetting(String key, Setting setting, int titleId, int descriptionId, String menuKey) { - super(key, null, setting, titleId, descriptionId); - mMenuKey = menuKey; - } - - public String getMenuKey() { - return mMenuKey; - } - - @Override - public int getType() { - return TYPE_SUBMENU; - } -} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt new file mode 100644 index 000000000..a289c42e1 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt @@ -0,0 +1,15 @@ +package org.yuzu.yuzu_emu.features.settings.model.view + +import org.yuzu.yuzu_emu.features.settings.model.Setting + +class SubmenuSetting( + key: String?, + setting: Setting?, + titleId: Int, + descriptionId: Int, + val menuKey: String +) : SettingsItem( + key, null, setting, titleId, descriptionId +) { + override val type = TYPE_SUBMENU +} |