mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
android: Convert HeaderSetting to Kotlin
This commit is contained in:
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
|
||||||
|
}
|
Loading…
Reference in a new issue