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:
@@ -5,8 +5,8 @@ import { Device } from '../../platform';
|
||||
|
||||
export * from './time-picker-common';
|
||||
|
||||
const SUPPORT_DATE_PICKER_STYLE = parseFloat(Device.osVersion) >= 13.4;
|
||||
const SUPPORT_TEXT_COLOR = parseFloat(Device.osVersion) < 14.0;
|
||||
const SUPPORT_DATE_PICKER_STYLE = __VISIONOS__ || parseFloat(Device.osVersion) >= 13.4;
|
||||
const SUPPORT_TEXT_COLOR = !__VISIONOS__ && parseFloat(Device.osVersion) < 14.0;
|
||||
|
||||
function getDate(hour: number, minute: number): Date {
|
||||
const components = NSDateComponents.alloc().init();
|
||||
|
||||
Reference in New Issue
Block a user