Change the default value of showsTagField to true

The default value of showsTagField in macOS's NSSavePanel is true.

Therefore, in order to follow the standard behavior and not break
backwards-compatibility, let's change the default value of
showsTagField to true.

Reference:
1525589-showstagfield?language=objc
This commit is contained in:
Tan Wang Leng 2017-02-09 21:01:40 +08:00
parent b0487b7d84
commit 9423143211

View file

@ -182,7 +182,7 @@ module.exports = {
} }
if (showsTagField == null) { if (showsTagField == null) {
showsTagField = false showsTagField = true
} }
const wrappedCallback = typeof callback === 'function' ? function (success, result) { const wrappedCallback = typeof callback === 'function' ? function (success, result) {