Add ellipsis at end of title in notification

This commit is contained in:
dec05eba
2025-06-28 18:56:08 +02:00
parent c0cd6337fc
commit a0d1de55d7

View File

@@ -1506,7 +1506,10 @@ namespace gsr {
byte_index += codepoint_length; byte_index += codepoint_length;
} }
str.erase(byte_index); if(byte_index < str.size()) {
str.erase(byte_index);
str += "...";
}
} }
static bool is_hex_num(char c) { static bool is_hex_num(char c) {