fix:靠原型不齐页面
This commit is contained in:
1 parent
35eed6b5b8
commit
f42ad566e0
14 files changed
+4013
-569
No files matched your search
@@ -40,4 +40,13 @@ class ProfileSettingsController extends StateNotifier<ProfileSettings> {
|
||||
void setPriceColorMode(PriceColorMode mode) {
|
||||
state = state.copyWith(priceColorMode: mode);
|
||||
}
|
||||
|
||||
void setRecycleDiscount(MetalType metal, double value) {
|
||||
state = state.copyWith(
|
||||
recycleDiscounts: {
|
||||
...state.recycleDiscounts,
|
||||
metal: value.clamp(0.7, 1.0),
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user