Add gpx type, fix file replacement
This commit is contained in:
@ -90,6 +90,8 @@ enum FileType: String {
|
||||
|
||||
case txt
|
||||
|
||||
case gpx
|
||||
|
||||
// MARK: Model
|
||||
|
||||
case stl
|
||||
@ -164,7 +166,7 @@ enum FileType: String {
|
||||
return .video
|
||||
case .mp3, .aac, .m4b, .m4a:
|
||||
return .audio
|
||||
case .json, .conf, .yaml, .txt:
|
||||
case .json, .conf, .yaml, .txt, .gpx:
|
||||
return .text
|
||||
case .html, .cpp, .swift, .sh, .js, .css:
|
||||
return .code
|
||||
|
Reference in New Issue
Block a user