@tantawowa/hosanna-tools 3.7.6 → 3.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/build-info.json
CHANGED
|
@@ -15,7 +15,7 @@ const path_1 = __importDefault(require("path"));
|
|
|
15
15
|
const DEFAULT_REFERENCE_ROOT = 'hosanna-ui';
|
|
16
16
|
const RUN_CONFIG_PATH = '.hosanna-tools/run.json';
|
|
17
17
|
const METADATA_PATH = '.hosanna-tools/native-project.json';
|
|
18
|
-
const TEMPLATE_VERSION = 'app-owned-native-
|
|
18
|
+
const TEMPLATE_VERSION = 'app-owned-native-v3';
|
|
19
19
|
const GITIGNORE_BLOCK_LINES = [
|
|
20
20
|
'# Hosanna installed framework/runtime',
|
|
21
21
|
// No trailing slash: Git must ignore shared-mode symlinks as well as folders.
|
|
@@ -40,8 +40,8 @@ private final class HosannaTvHostViewController: HosannaAppleHostViewController
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
override func pressesBegan(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
|
|
43
|
-
if containsMenuPress(presses) {
|
|
44
|
-
remoteProcessor
|
|
43
|
+
if containsMenuPress(presses), let remoteProcessor {
|
|
44
|
+
remoteProcessor.handlePresses(presses, pressed: true)
|
|
45
45
|
return
|
|
46
46
|
}
|
|
47
47
|
super.pressesBegan(presses, with: event)
|
|
@@ -49,8 +49,8 @@ private final class HosannaTvHostViewController: HosannaAppleHostViewController
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
override func pressesEnded(_ presses: Set<UIPress>, with event: UIPressesEvent?) {
|
|
52
|
-
if containsMenuPress(presses) {
|
|
53
|
-
remoteProcessor
|
|
52
|
+
if containsMenuPress(presses), let remoteProcessor {
|
|
53
|
+
remoteProcessor.handlePresses(presses, pressed: false)
|
|
54
54
|
return
|
|
55
55
|
}
|
|
56
56
|
super.pressesEnded(presses, with: event)
|