yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

android: Convert SubmenuSetting to Kotlin

This commit is contained in:
Charles Lombardo 2023-03-07 16:59:13 -05:00 committed by bunnei
parent 91884976a1
commit b98aaf1635
2 changed files with 15 additions and 21 deletions

View File

@ -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;
}
}

View File

@ -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
}