canvi de pc

This commit is contained in:
2025-03-14 23:04:09 +01:00
parent 3670bad36a
commit 4343cbae69
15 changed files with 59 additions and 72 deletions

View File

@@ -294,9 +294,6 @@ void Notifier::show(std::vector<std::string> texts, int icon, const std::string
notifications_.emplace_back(n);
}
// Indica si hay notificaciones activas
bool Notifier::isActive() { return !notifications_.empty(); }
// Finaliza y elimnina todas las notificaciones activas
void Notifier::clearAllNotifications()
{
@@ -317,10 +314,4 @@ std::vector<std::string> Notifier::getCodes()
codes.emplace_back(notification.code);
}
return codes;
}
// Comprueba si hay alguna notificacion con un código
bool Notifier::checkCode(std::string code)
{
return stringInVector(getCodes(), code);
}