File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const MaybePublicTag = ({path}: {path: T.FS.Path}) =>
2424 FS . hasPublicTag ( path ) ? < Kb . Meta title = "public" backgroundColor = { Kb . Styles . globalColors . green } /> : null
2525
2626const FilesTabStatusIcon = ( ) => {
27- const uploadIcon = useFSState ( s => s . getUploadIconForFilesTab ( ) )
27+ const uploadIcon = FS . useFSState ( s => s . getUploadIconForFilesTab ( ) )
2828 return uploadIcon ? < Kbfs . UploadIcon uploadIcon = { uploadIcon } style = { styles . filesTabStatusIcon } /> : null
2929}
3030
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ const tabStackOptions = ({
6363
6464// On phones, each tab stack only contains its root screen. All other routes live in
6565// the root stack (alongside chatConversation) so they render above the tab bar.
66- const tabRootNameSet = new Set ( Object . values ( tabRoots ) . filter ( Boolean ) )
66+ const tabRootNameSet = new Set < string > ( Object . values ( tabRoots ) . filter ( Boolean ) )
6767const phoneRootRoutes = Object . fromEntries (
6868 Object . entries ( tabRoutes ) . filter ( ( [ name ] ) => ! tabRootNameSet . has ( name ) )
6969) as typeof tabRoutes
Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ const settingsScreens = routeMapToScreenElements(
9191 makeLayout ,
9292 makeOptions ,
9393 false ,
94+ false ,
9495 false
9596)
9697
You can’t perform that action at this time.
0 commit comments