Skip to content

Commit 1666dcc

Browse files
committed
handle re-design in android
1 parent 4cdedca commit 1666dcc

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

android/src/main/java/com/reactnativemultipleimagepicker/MultipleImagePickerModule.kt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ class MultipleImagePickerModule(reactContext: ReactApplicationContext) :
169169
blueTitleBarStyle.setTitleLeftBackResource(R.drawable.ps_ic_black_back);
170170

171171

172-
173172
val numberBlueBottomNavBarStyle = BottomNavBarStyle()
174173
numberBlueBottomNavBarStyle.bottomPreviewNormalTextColor =
175174
ContextCompat.getColor(appContext, R.color.app_color_pri)
@@ -186,10 +185,7 @@ class MultipleImagePickerModule(reactContext: ReactApplicationContext) :
186185

187186
val numberBlueSelectMainStyle = SelectMainStyle()
188187

189-
numberBlueSelectMainStyle.previewSelectText = previewTitle
190188
numberBlueSelectMainStyle.setPreviewSelectNumberStyle(true)
191-
numberBlueSelectMainStyle.statusBarColor =
192-
ContextCompat.getColor(appContext, R.color.ps_color_blue)
193189
numberBlueSelectMainStyle.isSelectNumberStyle = true
194190
numberBlueSelectMainStyle.isPreviewSelectNumberStyle = true
195191
numberBlueSelectMainStyle.selectBackground = R.drawable.picture_selector
@@ -200,10 +196,17 @@ class MultipleImagePickerModule(reactContext: ReactApplicationContext) :
200196

201197
numberBlueSelectMainStyle.selectNormalTextColor =
202198
ContextCompat.getColor(appContext, R.color.ps_color_9b)
199+
numberBlueSelectMainStyle.selectText = doneTitle
203200
numberBlueSelectMainStyle.selectTextColor =
204201
ContextCompat.getColor(appContext, R.color.app_color_pri)
205202
numberBlueSelectMainStyle.selectText = doneTitle
206-
numberBlueSelectMainStyle.setStatusBarColor(ContextCompat.getColor(appContext, R.color.app_color_white));
203+
204+
numberBlueSelectMainStyle.setStatusBarColor(
205+
ContextCompat.getColor(
206+
appContext,
207+
R.color.app_color_white
208+
)
209+
);
207210
numberBlueSelectMainStyle.setDarkStatusBarBlack(true);
208211

209212
style.setTitleBarStyle(blueTitleBarStyle)

0 commit comments

Comments
 (0)