File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<script lang =" ts" >
22 import { onMount , onDestroy } from ' svelte' ;
3+ import { goto } from ' $app/navigation' ;
34 import Icon from ' $lib/components/Icon.svelte' ;
45 import { sidebarStore } from ' $lib/stores/sidebar.svelte' ;
56
140141 <span class ="item-icon" ><Icon name ="bookmark" size ={16 } /></span >
141142 Save URL
142143 </button >
144+ <button
145+ class =" add-menu-item"
146+ onclick ={(e ) => handleItemClick (() => goto (' /settings#save-anywhere' ), e )}
147+ role =" menuitem"
148+ >
149+ <span class ="item-icon" ><Icon name ="share" size ={16 } /></span >
150+ Save from anywhere
151+ </button >
143152 </div >
144153 </div >
145154 {/if }
Original file line number Diff line number Diff line change 11<script lang =" ts" >
22 import { onMount , onDestroy } from ' svelte' ;
3+ import { goto } from ' $app/navigation' ;
34 import Icon from ' $lib/components/Icon.svelte' ;
45 import { sidebarStore } from ' $lib/stores/sidebar.svelte' ;
56
191192 <span class ="item-icon" ><Icon name ="bookmark" size ={16 } /></span >
192193 Save article by URL
193194 </button >
195+ <button
196+ class =" menu-item"
197+ onclick ={(e ) => handleAction (() => goto (' /settings#save-anywhere' ), e )}
198+ >
199+ <span class ="item-icon" ><Icon name ="share" size ={16 } /></span >
200+ Save from anywhere
201+ </button >
194202 </div >
195203 </div >
196204 {/if }
Original file line number Diff line number Diff line change 11<script lang =" ts" >
2+ import { goto } from ' $app/navigation' ;
23 import Icon from ' $lib/components/Icon.svelte' ;
34 import { sidebarStore } from ' $lib/stores/sidebar.svelte' ;
45 import { notificationsStore } from ' $lib/stores/notifications.svelte' ;
9495 <Icon name ="bookmark" size ={16 } />
9596 <span >Save URL</span >
9697 </button >
98+ <button
99+ class =" add-menu-item"
100+ onclick ={() => {
101+ addMenuOpen = false ;
102+ goto (' /settings#save-anywhere' );
103+ }}
104+ >
105+ <Icon name ="share" size ={16 } />
106+ <span >Save from anywhere</span >
107+ </button >
97108 </div >
98109 {/if }
99110 </div >
Original file line number Diff line number Diff line change 584584 </div >
585585 </section >
586586
587- <section class =" card" >
587+ <section class =" card" id = " save-anywhere " >
588588 <h2 >Save from anywhere</h2 >
589589 <p >Save an article or subscribe to a feed without leaving the page you're reading.</p >
590590
651651 </p >
652652 </details >
653653 {/if }
654+
655+ <h3 class =" subhead" >On Android</h3 >
656+ <p class =" hint-text" >
657+ Install Skyreader to your home screen and it appears right in the system share sheet. Share
658+ any page, pick Skyreader, and it saves the article. No setup needed.
659+ </p >
654660 </section >
655661
656662 <section class =" card" >
You can’t perform that action at this time.
0 commit comments