Skip to content

Commit bdcdbce

Browse files
committed
Using user's default path for playground creation from extension instead of asking each time
1 parent 66f6d9e commit bdcdbce

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PlayAways/ExtensionHandler.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ final class ExtensionHandler {
2222

2323
switch platform {
2424
case "macos":
25-
options = .macOSWithPanel
25+
options = .macOS
2626
case "tvos":
27-
options = .tvOSWithPanel
27+
options = .tvOS
2828
default:
29-
options = .iOSWithPanel
29+
options = .iOS
3030
}
3131

3232
self?.router?.createPlayground(with: options, contents: buffer)

0 commit comments

Comments
 (0)