mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(visionos): ui-mobile-base supporting xros plus improvements to window handling (#10478)
This commit is contained in:
@@ -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>{});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user