Add gpx type, fix file replacement

This commit is contained in:
Christoph Hagen
2025-04-29 16:57:02 +02:00
parent 3c7681b769
commit f3de1b72b6
4 changed files with 20 additions and 3 deletions

View File

@ -41,7 +41,7 @@ struct FileContentView: View {
.foregroundStyle(.secondary)
case .text, .code:
TextFileContentView(file: file)
.id(file.id)
.id(file.id + file.modifiedDate.description)
case .video:
VStack {
if let image = file.imageToDisplay {