__id__ = "sdk_hello"
__name__ = "SDK Check"
__description__ = "Shows a notification from the plugin settings."
__author__ = "NimarkoGram"
__version__ = "1.0"
__host__ = "NimarkoGram"
__sdk_version__ = ">=1.0"

from base_plugin import BasePlugin
from ui.bulletin import BulletinHelper
from ui.settings import Text


class HelloPlugin(BasePlugin):
    def create_settings(self):
        return [Text(text="Check SDK", on_click=self.show_status)]

    def show_status(self, view):
        BulletinHelper.show_info("Plugin is running")
