Trabajando en las notificaciones

This commit is contained in:
2022-11-23 20:14:53 +01:00
parent 3aa4440390
commit ea5360ea74
3 changed files with 3 additions and 3 deletions

View File

@@ -351,7 +351,7 @@ void Screen::updateNotifier()
} }
// Muestra una notificación de texto por pantalla; // Muestra una notificación de texto por pantalla;
void Screen::showText(std::string text) void Screen::showNotification(std::string text)
{ {
notify->showText(text); notify->showText(text);
} }

View File

@@ -126,7 +126,7 @@ public:
void updateNotifier(); void updateNotifier();
// Muestra una notificación de texto por pantalla; // Muestra una notificación de texto por pantalla;
void showText(std::string text); void showNotification(std::string text);
}; };
#endif #endif

View File

@@ -293,7 +293,7 @@ void EnterID::initOnline()
jscore::init(options->online.server, options->online.port); jscore::init(options->online.server, options->online.port);
const std::string caption = options->online.jailerID + " IS LOGGED IN"; const std::string caption = options->online.jailerID + " IS LOGGED IN";
screen->showText(caption); screen->showNotification(caption);
if (options->console) if (options->console)
{ {
std::cout << caption << std::endl; std::cout << caption << std::endl;