fix:靠原型不齐页面

This commit is contained in:
jingyun
2026-06-18 16:53:08 +08:00
parent 35eed6b5b8
commit f42ad566e0
14 changed files with 4013 additions and 569 deletions
@@ -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),
},
);
}
}