Commit 5aab5e4e by 宁斌

新增餐牌選中食品字體配置

parent db7e0360
...@@ -79,6 +79,10 @@ public class UIStyleExtendedConfiguration { ...@@ -79,6 +79,10 @@ public class UIStyleExtendedConfiguration {
/** /**
* 食品組、食品、細項、折扣字體大小 * 食品組、食品、細項、折扣字體大小
*/ */
private ExpandInfoSetting billListFontSize = ExpandInfoSetting.builder()
.valueInt(18)
.remark("餐牌選中食品字體大小")
.build();
private ExpandInfoSetting foodGroupFontSize = ExpandInfoSetting.builder() private ExpandInfoSetting foodGroupFontSize = ExpandInfoSetting.builder()
.valueInt(12) .valueInt(12)
.remark("食品組字體大小") .remark("食品組字體大小")
...@@ -169,6 +173,10 @@ public class UIStyleExtendedConfiguration { ...@@ -169,6 +173,10 @@ public class UIStyleExtendedConfiguration {
return soldoutModFlagHeight.getValue(); return soldoutModFlagHeight.getValue();
} }
public <T> T getBillListFontSizeVaule() {
return billListFontSize.getValue();
}
public <T> T getFoodGroupFontSizeValue() { public <T> T getFoodGroupFontSizeValue() {
return foodGroupFontSize.getValue(); return foodGroupFontSize.getValue();
} }
......
...@@ -74,6 +74,7 @@ public class SelectMealAdapter extends DefaultAdapter<OrderDetail> { ...@@ -74,6 +74,7 @@ public class SelectMealAdapter extends DefaultAdapter<OrderDetail> {
public SelectMealAdapter(Context context, List<OrderDetail> data, BasePresenter presenter) { public SelectMealAdapter(Context context, List<OrderDetail> data, BasePresenter presenter) {
super(data); super(data);
this.mContext = context; this.mContext = context;
this.BillListFontSize = GsaCloudApplication.uiStyleConfiguration.getBillListFontSizeVaule();
if (presenter instanceof MealStandPresenter) { if (presenter instanceof MealStandPresenter) {
// this.mMealStandPresenter = (MealStandPresenter) presenter; // this.mMealStandPresenter = (MealStandPresenter) presenter;
this.mMealStandActivity = (MealStandActivity) context; this.mMealStandActivity = (MealStandActivity) context;
......
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