// SPDX-FileCopyrightText: 2026 Marco Allegretti
// SPDX-License-Identifier: EUPL-1.2

import QtQuick 2.15

import org.kde.plasma.private.mobileshell.shellsettingsplugin as ShellSettings
import org.kde.plasma.private.mobileshell.quicksettingsplugin as QS

QS.QuickSetting {
    text: i18n("Launch Hint")
    icon: "dialog-information-symbolic"
    status: ShellSettings.Settings.gamingDismissHintEnabled ? i18n("On") : i18n("Off")
    enabled: true
    available: ShellSettings.Settings.gamingModeEnabled

    function toggle() {
        ShellSettings.Settings.gamingDismissHintEnabled = !ShellSettings.Settings.gamingDismissHintEnabled;
    }
}
