1
0
espelhamento de https://github.com/maxgoedjen/secretive.git sincronizado 2026-09-12 03:19:06 +02:00

Fix separator parsing in update view (#502)

Esse commit está contido em:
Max Goedjen
2024-01-05 12:33:10 -08:00
commit de GitHub
commit 5af84583ab

Ver Arquivo

@@ -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 "#":