Android: Convert CheatsDisabledWarningFragment to Kotlin

This commit is contained in:
Charles Lombardo 2023-03-01 13:40:08 -05:00
parent fcfde12c52
commit 25fb3218d9
2 changed files with 13 additions and 16 deletions

View File

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

View File

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