mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-24 09:31:20 -08:00
android: Convert HeaderSetting to Kotlin
This commit is contained in:
parent
21841b6520
commit
537c16d4cf
@ -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 New Issue
Block a user