Skip to content

Commit 744d508

Browse files
committed
android: fixed a bug that could crash when fill order is empty.
1 parent 0802cbf commit 744d508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/app/src/main/java/com/btsplusplus/fowallet/FragmentTradeBuyOrSell.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class FragmentTradeBuyOrSell : BtsppFragment() {
234234
return
235235
}
236236

237-
if (data_array != null) {
237+
if (data_array != null && data_array.length() > 0) {
238238
// 保存数据(Fragment重新创建时需要用到)
239239
_currFillOrders = data_array
240240

0 commit comments

Comments
 (0)