phase3: precise nullable-condition fixes (if(x)->if(x==true), analyzer-driven). 399->379

This commit is contained in:
2026-07-26 10:46:26 +08:00
parent 97e4908126
commit 3ed58e1596
6 changed files with 20 additions and 20 deletions

View File

@@ -240,10 +240,10 @@ class MobileAttributeSelectionState extends State<MobileAttributeSelection> {
Widget optionsView;
ProductAttribute productAttribute = product.productAttributes![index];
if (productAttribute.byQuantity) {
if (productAttribute.byQuantity == true) {
optionsView = new QtyOptions(product: product, index: index, selections: selections);
} else {
if (productAttribute.singleSelection) {
if (productAttribute.singleSelection == true) {
optionsView = new RadioOptions(product: product, index: index, selections: selections);
} else {
optionsView = new CheckOptions(product: product, index: index, selections: selections);