feat(web): added toggle for Sharing button in the sidebar (#4674)

* Added toggle for Sharing button in the sidebar

* fix: format

---------

Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
doggo 2023-10-29 01:42:51 +00:00 committed by GitHub
parent 8a6889529c
commit daad02504f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 17 deletions

View file

@ -49,10 +49,12 @@ export interface AlbumViewSettings {
export interface SidebarSettings {
people: boolean;
sharing: boolean;
}
export const sidebarSettings = persisted<SidebarSettings>('sidebar-settings', {
people: false,
sharing: true,
});
export enum AlbumViewMode {