Fix highlights not showing in mentions (#3801)

This commit is contained in:
pajlada
2022-06-06 15:36:53 +02:00
committed by GitHub
parent d29243a2a5
commit 9219647b6a
5 changed files with 116 additions and 8 deletions
+47 -2
View File
@@ -44,12 +44,57 @@ public:
}
};
class MockApplication : BaseApplication
class MockApplication : IApplication
{
AccountController *const getAccounts() override
public:
Theme *getThemes() override
{
return nullptr;
}
Fonts *getFonts() override
{
return nullptr;
}
Emotes *getEmotes() override
{
return nullptr;
}
AccountController *getAccounts() override
{
return &this->accounts;
}
HotkeyController *getHotkeys() override
{
return nullptr;
}
WindowManager *getWindows() override
{
return nullptr;
}
Toasts *getToasts() override
{
return nullptr;
}
CommandController *getCommands() override
{
return nullptr;
}
NotificationController *getNotifications() override
{
return nullptr;
}
TwitchIrcServer *getTwitch() override
{
return nullptr;
}
ChatterinoBadges *getChatterinoBadges() override
{
return nullptr;
}
FfzBadges *getFfzBadges() override
{
return nullptr;
}
AccountController accounts;
// TODO: Figure this out