Fix recording starting on tablet when close dialog rather than tablet

This commit is contained in:
David Rowe 2017-04-06 15:32:42 +12:00
parent 982c0ec559
commit a9f5b60319

View file

@ -200,8 +200,8 @@
HOME_URL = "Tablet.qml";
if (type === "Home" && url === HOME_URL) {
// Start countdown if recording is enabled.
if (isRecordingEnabled && recordingState === IDLE) {
// Start countdown if using toolbar and recording is enabled.
if (usingToolbar() && isRecordingEnabled && recordingState === IDLE) {
startCountdown();
}
isDialogDisplayed = false;