Skip to content

Commit 86d1154

Browse files
author
sherry
committed
bug:fixed
1 parent d651fcd commit 86d1154

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
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.2
6+
- 修复bug,优化体验
7+
58
### v 2.4.1
69
- 修复了安卓设置隐私文字大小无效
710

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

Lines changed: 4 additions & 4 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.setPrivacyNavTitleTextSize(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
}
@@ -452,7 +452,7 @@ private ReactRootView convertToView(ReadableMap readableMap){
452452
reactView.setLayoutParams(layoutParams);
453453
return reactView;
454454
}
455-
455+
456456
private int dp2Pix(float dp) {
457457
try {
458458
float density = reactContext.getApplicationContext().getResources().getDisplayMetrics().density;

example/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ DEPENDENCIES:
9090
- Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
9191
- glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`)
9292
- JCore (from `../node_modules/jcore-react-native`)
93-
- JVerification (from `../../`)
93+
- JVerification (from `../node_modules/jverification-react-native`)
9494
- React (from `../node_modules/react-native/`)
9595
- React-Core (from `../node_modules/react-native/React`)
9696
- React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`)

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.1",
8+
"version": "2.4.2",
99
"repository": {
1010
"type": "git",
1111
"url": "https://github.com/jpush/jverification-react-native"

0 commit comments

Comments
 (0)