Skip to content

Commit d651fcd

Browse files
author
sherry
committed
bug:fixed android setPrivacyTextSize
1 parent eff34b8 commit d651fcd

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## ChangeLog
44

5+
### v 2.4.1
6+
- 修复了安卓设置隐私文字大小无效
7+
58
### v 2.4.0
69
- 更新了原生sdk版本
710
- 增加获取验证码,设置前后两次获取验证码时间间隔的功能

android/src/main/java/cn/jiguang/plugins/verification/JVerificationModule.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ private void convertToConfig(ReadableMap readableMap){
408408
if(readableMap.hasKey(JConstans.PRIVACY_WEB_NAV_COLOR)){
409409
builder.setPrivacyNavColor(readableMap.getInt(JConstans.PRIVACY_WEB_NAV_COLOR));
410410
}
411-
if(readableMap.hasKey(JConstans.PRIVACY_WEB_NAV_TITLE_SIZE)){
412-
builder.setPrivacyTextSize(readableMap.getInt(JConstans.PRIVACY_WEB_NAV_TITLE_SIZE));
413-
}
411+
// if(readableMap.hasKey(JConstans.PRIVACY_WEB_NAV_TITLE_SIZE)){
412+
// builder.setPrivacyTextSize(readableMap.getInt(JConstans.PRIVACY_WEB_NAV_TITLE_SIZE));
413+
// }
414414
if(readableMap.hasKey(JConstans.PRIVACY_WEB_NAV_TITLE_COLOR)){
415415
builder.setPrivacyNavTitleTextColor(readableMap.getInt(JConstans.PRIVACY_WEB_NAV_TITLE_COLOR));
416416
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "index.js",
66
"license": "ISC",
77
"author": "wicked.tc130",
8-
"version": "2.4.0",
8+
"version": "2.4.1",
99
"repository": {
1010
"type": "git",
1111
"url": "https://github.com/jpush/jverification-react-native"

0 commit comments

Comments
 (0)