@@ -29,7 +29,7 @@ import {
29
29
MyResourcesSelectors ,
30
30
RemoveResourceFromBookmarks ,
31
31
} from '@osf/shared/stores' ;
32
- import { hasViewOnlyParam , IS_SMALL } from '@shared/helpers' ;
32
+ import { hasViewOnlyParam , IS_MEDIUM } from '@shared/helpers' ;
33
33
34
34
import { SocialsShareActionItem } from '../../models' ;
35
35
import { DuplicateDialogComponent } from '../duplicate-dialog/duplicate-dialog.component' ;
@@ -66,7 +66,7 @@ export class OverviewToolbarComponent {
66
66
destroyRef = inject ( DestroyRef ) ;
67
67
isPublic = signal ( false ) ;
68
68
isBookmarked = signal ( false ) ;
69
- isMobile = toSignal ( inject ( IS_SMALL ) ) ;
69
+ isTablet = toSignal ( inject ( IS_MEDIUM ) ) ;
70
70
71
71
isCollectionsRoute = input < boolean > ( false ) ;
72
72
canEdit = input . required < boolean > ( ) ;
@@ -145,7 +145,7 @@ export class OverviewToolbarComponent {
145
145
handleToggleProjectPublicity ( ) : void {
146
146
const resource = this . currentResource ( ) ;
147
147
if ( ! resource ) return ;
148
- const dialogWidth = this . isMobile ( ) ? '95vw ' : '600px ' ;
148
+ const dialogWidth = this . isTablet ( ) ? '600px ' : '95vw ' ;
149
149
150
150
const isCurrentlyPublic = resource . isPublic ;
151
151
const newPublicStatus = ! isCurrentlyPublic ;
0 commit comments