File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,9 @@ const App = () => {
4848 } = state ;
4949
5050 const [ drawerOpen , setDrawerOpen ] = useState ( false ) ;
51- const [ snackOpen , setSnackOpen ] = useState ( ! window . __TAURI__ ) ;
51+ const [ snackOpen , setSnackOpen ] = useState (
52+ ! window . __TAURI__ && window . innerWidth > 600
53+ ) ;
5254 const language = state . languages [ languageIndex ] ;
5355
5456 const color = ThemeSelector ( themeIndex ) ;
Original file line number Diff line number Diff line change @@ -305,7 +305,10 @@ const Home = () => {
305305 </ Grid >
306306 </ CardContent >
307307 </ Card >
308- < Accordion sx = { { mt : 2 } } defaultExpanded = { ! window . __TAURI__ } >
308+ < Accordion
309+ sx = { { mt : 2 } }
310+ defaultExpanded = { ! window . __TAURI__ && window . innerWidth > 600 }
311+ >
309312 < AccordionSummary
310313 expandIcon = { < ExpandMoreIcon /> }
311314 aria-controls = "panel1a-content"
You can’t perform that action at this time.
0 commit comments