android: Convert HeaderSetting to Kotlin

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

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

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