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

android: Convert HeaderSetting to Kotlin

This commit is contained in:
Charles Lombardo 2023-03-07 15:39:05 -05:00 committed by bunnei
parent 21841b6520
commit 537c16d4cf
2 changed files with 12 additions and 14 deletions

View File

@ -1,14 +0,0 @@
package org.yuzu.yuzu_emu.features.settings.model.view;
import org.yuzu.yuzu_emu.features.settings.model.Setting;
public final class HeaderSetting extends SettingsItem {
public HeaderSetting(String key, Setting setting, int titleId, int descriptionId) {
super(key, null, setting, titleId, descriptionId);
}
@Override
public int getType() {
return SettingsItem.TYPE_HEADER;
}
}

View File

@ -0,0 +1,12 @@
package org.yuzu.yuzu_emu.features.settings.model.view
import org.yuzu.yuzu_emu.features.settings.model.Setting
class HeaderSetting(
key: String?,
setting: Setting?,
titleId: Int,
descriptionId: Int?
) : SettingsItem(key, null, setting, titleId, descriptionId) {
override val type = TYPE_HEADER
}