mirror of
https://github.com/responsively-org/responsively-app
synced 2024-11-10 23:04:20 +00:00
Merge pull request #519 from responsively-org/hotfix/flip-button
Hotfix / Fixed the broken global flip button
This commit is contained in:
commit
116fa6b9ba
1 changed files with 2 additions and 8 deletions
|
@ -402,13 +402,6 @@ class WebView extends Component {
|
|||
this.webviewRef.current.send('scrollUpMessage');
|
||||
};
|
||||
|
||||
processTiltEvent = async ({deviceId}) => {
|
||||
if (deviceId && this.props.device.id !== deviceId) {
|
||||
return;
|
||||
}
|
||||
this._flipOrientation();
|
||||
};
|
||||
|
||||
processScreenshotEvent = async ({
|
||||
now,
|
||||
fullScreen = true,
|
||||
|
@ -443,7 +436,8 @@ class WebView extends Component {
|
|||
this.setState({screenshotInProgress: false});
|
||||
};
|
||||
|
||||
processFlipOrientationEvent = ({deviceId}) => {
|
||||
processFlipOrientationEvent = (message = {}) => {
|
||||
const {deviceId} = message;
|
||||
if (deviceId && this.props.device.id !== deviceId) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue