Commit 8d325cc5 authored by fallenstardust's avatar fallenstardust

只在genesys有上限值的禁卡表显示计分板

parent f1388ae4
...@@ -1684,6 +1684,12 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte ...@@ -1684,6 +1684,12 @@ public class DeckManagerFragment extends BaseFragemnt implements RecyclerViewIte
// 更新卡片列表适配器的限制列表并通知数据变更 // 更新卡片列表适配器的限制列表并通知数据变更
mCardListAdapter.setLimitList(limitList); mCardListAdapter.setLimitList(limitList);
Objects.requireNonNull(getActivity()).runOnUiThread(() -> mCardListAdapter.notifyDataSetChanged()); Objects.requireNonNull(getActivity()).runOnUiThread(() -> mCardListAdapter.notifyDataSetChanged());
// 根据是否有Genesys信用分上限值来显示计分板
if (limitList.getCreditLimits() != null && limitList.getCreditLimits() > 0) {
ll_genesys_scoreboard.setVisibility(View.VISIBLE);
} else {
ll_genesys_scoreboard.setVisibility(View.GONE);
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment