summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.java21
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt15
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
+}