File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,16 @@ struct FollowingPlanetSidebarItem: View {
6767 NSPasteboard . general. clearContents ( )
6868 NSPasteboard . general. setString ( planet. shareLink. absoluteString, forType: . string)
6969 } label: {
70- Text ( " Copy URL " )
70+ switch planet. planetType {
71+ case . planet:
72+ Text ( " Copy Planet IPNS " )
73+ case . ens:
74+ Text ( " Copy ENS URL " )
75+ case . dns:
76+ Text ( " Copy Feed URL " )
77+ default :
78+ Text ( " Copy URL " )
79+ }
7180 }
7281
7382 Button {
Original file line number Diff line number Diff line change @@ -296,6 +296,7 @@ struct MyPlanetSidebarItem: View {
296296 if planet. articles. count < 1000 {
297297 Task . detached ( priority: . userInitiated) {
298298 try await planet. savePublic ( )
299+ try await planet. publish ( )
299300 }
300301 } else {
301302 // if the planet has more than 1000 articles, we should ask user to perform a quick rebuild
Original file line number Diff line number Diff line change 1- CURRENT_PROJECT_VERSION = 2496
1+ CURRENT_PROJECT_VERSION = 2497
You can’t perform that action at this time.
0 commit comments