Android: Convert GraphicsModsDisabledWarningFragment to Kotlin

This commit is contained in:
Charles Lombardo 2023-03-01 13:40:48 -05:00
parent a8da5902bb
commit 58b7b80902
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 GraphicsModsDisabledWarningFragment extends SettingDisabledWarningFragment
{
public GraphicsModsDisabledWarningFragment()
{
super(BooleanSetting.GFX_MODS_ENABLE, MenuTag.ADVANCED_GRAPHICS,
R.string.gfx_mods_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 GraphicsModsDisabledWarningFragment : SettingDisabledWarningFragment(
BooleanSetting.GFX_MODS_ENABLE,
MenuTag.ADVANCED_GRAPHICS,
R.string.gfx_mods_disabled_warning
)