Skip to content

feat: Adapt to HarmonyOS NEXT #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2024
Merged

feat: Adapt to HarmonyOS NEXT #2

merged 1 commit into from
Jul 17, 2024

Conversation

Panlichen1996
Copy link

@Panlichen1996 Panlichen1996 commented Jul 16, 2024

Summary

适配harmony issue #1

  • 修改内容
    DropdownAlert.tsx中增加const isHarmony = Platform.OS === 'harmony'的判断 ,并在只支持isAndroid的逻辑判断里加上 || isHarmony ,使某些Android独有属性也支持harmony

Test Plan

测试代码地址

Checklist

  • 已经在真机设备或模拟器上测试通过
  • 已经与 Android 或 iOS 平台做过效果/功能对比
  • 已经添加了对应 API 的测试用例(如需要)
  • 已经更新了文档(如需要)
  • 更新了 JS/TS 代码 (如有)

@Xiiyy Xiiyy merged commit 6aea7b5 into react-native-oh-library:sig Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants