File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ struct PlanetMainView: View {
4646 title: " Failed to Import Planet " ,
4747 message: " The planet already exists. "
4848 )
49+ return
4950 } catch {
5051 // use general alert
5152 }
@@ -79,7 +80,15 @@ struct PlanetMainView: View {
7980 try planet. export ( exportDirectory: url)
8081 return
8182 } catch PlanetError . FileExistsError {
82- PlanetManager . shared. alert ( title: " Failed to Export Planet " , message: " Please choose another path. " )
83+ PlanetManager . shared. alert (
84+ title: " Failed to Export Planet " ,
85+ message: """
86+ There is already an exported Planet in the destination. \
87+ We do not recommend override your backup. \
88+ Please choose another destination, or rename your previous backup.
89+ """
90+ )
91+ return
8392 } catch {
8493 // use general alert
8594 }
Original file line number Diff line number Diff line change 1- CURRENT_PROJECT_VERSION = 340
1+ CURRENT_PROJECT_VERSION = 341
You can’t perform that action at this time.
0 commit comments