I use startWith again
This commit is contained in:
@@ -231,7 +231,7 @@ MessagePtr TwitchMessageBuilder::build()
|
|||||||
QString linkString = this->matchLink(string);
|
QString linkString = this->matchLink(string);
|
||||||
auto fontStyle = FontStyle::ChatMedium;
|
auto fontStyle = FontStyle::ChatMedium;
|
||||||
|
|
||||||
if (string[0] == '@' && app->settings->usernameBold) {
|
if (string.startsWith('@') && app->settings->usernameBold) {
|
||||||
fontStyle = FontStyle::ChatMediumBold;
|
fontStyle = FontStyle::ChatMediumBold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user