| 2018 | |
| 2019 | auto iosAssetValue = platformSpecificAssetsMapValue.getMapValue("ios"); |
| 2020 | if (!iosAssetValue.isNullOrUndefined()) { |
| 2021 | iOSAsset = AssetResolver::resolve(_resourceManager, iosAssetValue); |
| 2022 | } |
| 2023 | auto androidAssetValue = platformSpecificAssetsMapValue.getMapValue("android"); |
| 2024 | if (!androidAssetValue.isNullOrUndefined()) { |
| 2025 | androidAsset = AssetResolver::resolve(_resourceManager, androidAssetValue); |
| 2026 | } |
| 2027 | |
| 2028 | if (defaultAsset == nullptr || ((iOSAsset == nullptr) && (androidAsset == nullptr))) { |
nothing calls this directly
no test coverage detected