Merge pull request #16748 from UziTech/patch-6

return value of sync confirm function
This commit is contained in:
Wliu
2018-02-16 10:06:27 -05:00
committed by GitHub

View File

@@ -236,7 +236,7 @@ class ApplicationDelegate {
return chosen
} else {
const callback = buttons[buttonLabels[chosen]]
if (typeof callback === 'function') callback()
if (typeof callback === 'function') return callback()
}
}
}