1
0
Mirror von https://github.com/maxgoedjen/secretive.git synchronisiert 2026-07-04 18:19:00 +02:00

Fix separator parsing in update view (#502)

Dieser Commit ist enthalten in:
Max Goedjen
2024-01-05 12:33:10 -08:00
committet von GitHub
Ursprung afc54c5e40
Commit 5af84583ab

Datei anzeigen

@@ -38,7 +38,7 @@ struct UpdateDetailView<UpdaterType: Updater>: View {
for line in update.body.split(whereSeparator: \.isNewline) {
let attributed: Text
let split = line.split(separator: " ")
let unprefixed = split.dropFirst().joined()
let unprefixed = split.dropFirst().joined(separator: " ")
if let prefix = split.first {
switch prefix {
case "#":