fix: relayout tabs when update button visibility changes (#6447)

This commit is contained in:
pajlada
2025-09-06 12:48:27 +02:00
committed by GitHub
parent 6a0ca0bff8
commit 36ebb19469
7 changed files with 39 additions and 19 deletions
@@ -15,6 +15,7 @@
#include "providers/twitch/TwitchIrcServer.hpp"
#include "singletons/Theme.hpp"
#include "singletons/Toasts.hpp"
#include "singletons/Updates.hpp"
#include "singletons/WindowManager.hpp"
#include "util/PostToThread.hpp"
@@ -196,6 +197,11 @@ QString debugTest(const CommandContext &ctx)
ctx.channel->addSystemMessage(
QString("debug-test sent desktop notification"));
}
else if (command == "update-check")
{
getApp()->getUpdates().checkForUpdates();
ctx.channel->addSystemMessage(QString("checking for updates"));
}
else
{
ctx.channel->addSystemMessage(