mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Android: Convert CheatsDisabledWarningFragment to Kotlin
This commit is contained in:
parent
fcfde12c52
commit
25fb3218d9
@ -1,16 +0,0 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
package org.dolphinemu.dolphinemu.features.cheats.ui;
|
||||
|
||||
import org.dolphinemu.dolphinemu.R;
|
||||
import org.dolphinemu.dolphinemu.features.settings.model.BooleanSetting;
|
||||
import org.dolphinemu.dolphinemu.features.settings.ui.MenuTag;
|
||||
|
||||
public class CheatsDisabledWarningFragment extends SettingDisabledWarningFragment
|
||||
{
|
||||
public CheatsDisabledWarningFragment()
|
||||
{
|
||||
super(BooleanSetting.MAIN_ENABLE_CHEATS, MenuTag.CONFIG_GENERAL,
|
||||
R.string.cheats_disabled_warning);
|
||||
}
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
package org.dolphinemu.dolphinemu.features.cheats.ui
|
||||
|
||||
import org.dolphinemu.dolphinemu.R
|
||||
import org.dolphinemu.dolphinemu.features.settings.model.BooleanSetting
|
||||
import org.dolphinemu.dolphinemu.features.settings.ui.MenuTag
|
||||
|
||||
class CheatsDisabledWarningFragment : SettingDisabledWarningFragment(
|
||||
BooleanSetting.MAIN_ENABLE_CHEATS,
|
||||
MenuTag.CONFIG_GENERAL,
|
||||
R.string.cheats_disabled_warning
|
||||
)
|
Loading…
Reference in New Issue
Block a user