phase3: precise nullable-condition fixes (if(x)->if(x==true), analyzer-driven). 399->379
This commit is contained in:
@@ -508,7 +508,7 @@ class ShopState extends State<Shop>
|
||||
|
||||
stack.children.addAll(children);
|
||||
|
||||
if (!_business.isPublic) {
|
||||
if (_business.isPublic != true) {
|
||||
stack.children.add(
|
||||
Positioned(
|
||||
top: 0,
|
||||
@@ -1821,7 +1821,7 @@ class ShopState extends State<Shop>
|
||||
return;
|
||||
}
|
||||
checkCloseFlag = true;
|
||||
if (business.forceClose) {
|
||||
if (business.forceClose == true) {
|
||||
showDialog(
|
||||
context: context,
|
||||
builder: (BuildContext context) {
|
||||
|
||||
Reference in New Issue
Block a user