Skip to content

Commit 94579bf

Browse files
committed
Fix beginning of title being trimmed
1 parent 32ad736 commit 94579bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

InfiniLink/BLE/BLEWriteManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct BLEWriteManager {
5353
let body = transliterationEnabled ? notif.subtitle.asciiSafe : notif.subtitle
5454

5555
// Convert strings to ASCII
56-
let titleData = (title + "\0").data(using: .ascii)
56+
let titleData = (" " + title + "\0").data(using: .ascii)
5757
let bodyData = (body + "\0").data(using: .ascii)
5858

5959
// Log if there was a failure when converting

0 commit comments

Comments
 (0)