feat(visionos): ui-mobile-base supporting xros plus improvements to window handling (#10478)

This commit is contained in:
Nathan Walker
2024-04-05 17:07:16 -07:00
committed by GitHub
parent 9ca490250e
commit 01d537bf15
242 changed files with 8658 additions and 2099 deletions

View File

@@ -271,7 +271,7 @@ export function getButtonColors(): { color: Color; backgroundColor: Color } {
if (!button) {
const Button = require('../button').Button;
button = new Button();
if (__IOS__) {
if (__APPLE__) {
button._setupUI(<any>{});
}
}
@@ -290,7 +290,7 @@ export function getLabelColor(): Color {
if (!label) {
const Label = require('../label').Label;
label = new Label();
if (__IOS__) {
if (__APPLE__) {
label._setupUI(<any>{});
}
}
@@ -307,7 +307,7 @@ export function getTextFieldColor(): Color {
if (!textField) {
const TextField = require('../text-field').TextField;
textField = new TextField();
if (__IOS__) {
if (__APPLE__) {
textField._setupUI(<any>{});
}
}