mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Show turtle mode on android
This commit is contained in:
parent
016e3ee72d
commit
e0f41219aa
@ -43,27 +43,23 @@ const ChatHeader: React.FC<Props> = ({ connected, peerConnected, turtleMode, set
|
||||
</Paper>
|
||||
</Grid>
|
||||
<Grid item>
|
||||
{window.ReactNativeWebView === undefined ? (
|
||||
<Grid item>
|
||||
<Tooltip
|
||||
enterTouchDelay={0}
|
||||
placement='top'
|
||||
title={t('Activate slow mode (use it when the connection is slow)')}
|
||||
<Grid item>
|
||||
<Tooltip
|
||||
enterTouchDelay={0}
|
||||
placement='top'
|
||||
title={t('Activate slow mode (use it when the connection is slow)')}
|
||||
>
|
||||
<IconButton
|
||||
size='small'
|
||||
color={turtleMode ? 'primary' : 'inherit'}
|
||||
onClick={() => {
|
||||
setTurtleMode(!turtleMode);
|
||||
}}
|
||||
>
|
||||
<IconButton
|
||||
size='small'
|
||||
color={turtleMode ? 'primary' : 'inherit'}
|
||||
onClick={() => {
|
||||
setTurtleMode(!turtleMode);
|
||||
}}
|
||||
>
|
||||
<WifiTetheringError />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
</Grid>
|
||||
) : (
|
||||
<></>
|
||||
)}
|
||||
<WifiTetheringError />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Grid item>
|
||||
<Paper
|
||||
|
Loading…
Reference in New Issue
Block a user