diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-03-07 21:39:05 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:35 +0200 |
commit | 537c16d4cf28f1dad6c69fff9fd3f31bb82bbcbb (patch) | |
tree | 3c5c31d74127258b15a89888c431ba69b2048c0b /src/android/app | |
parent | android: Convert DateTimeSetting to Kotlin (diff) | |
download | yuzu-537c16d4cf28f1dad6c69fff9fd3f31bb82bbcbb.tar yuzu-537c16d4cf28f1dad6c69fff9fd3f31bb82bbcbb.tar.gz yuzu-537c16d4cf28f1dad6c69fff9fd3f31bb82bbcbb.tar.bz2 yuzu-537c16d4cf28f1dad6c69fff9fd3f31bb82bbcbb.tar.lz yuzu-537c16d4cf28f1dad6c69fff9fd3f31bb82bbcbb.tar.xz yuzu-537c16d4cf28f1dad6c69fff9fd3f31bb82bbcbb.tar.zst yuzu-537c16d4cf28f1dad6c69fff9fd3f31bb82bbcbb.zip |
Diffstat (limited to 'src/android/app')
2 files changed, 12 insertions, 14 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.java b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.java deleted file mode 100644 index c41ac3d54..000000000 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.java +++ /dev/null @@ -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; - } -} diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.kt new file mode 100644 index 000000000..5114043a0 --- /dev/null +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.kt @@ -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 +} |