Unverified Commit 364726ac authored by Alexandre Ardhuin's avatar Alexandre Ardhuin Committed by GitHub

fix precedence issue (#31486)

parent 661e0350
...@@ -391,9 +391,9 @@ class GalleryOptionsPage extends StatelessWidget { ...@@ -391,9 +391,9 @@ class GalleryOptionsPage extends StatelessWidget {
List<Widget> _enabledDiagnosticItems() { List<Widget> _enabledDiagnosticItems() {
// Boolean showFoo options with a value of null: don't display // Boolean showFoo options with a value of null: don't display
// the showFoo option at all. // the showFoo option at all.
if (null == options.showOffscreenLayersCheckerboard if (options.showOffscreenLayersCheckerboard == null &&
?? options.showRasterCacheImagesCheckerboard options.showRasterCacheImagesCheckerboard == null &&
?? options.showPerformanceOverlay) options.showPerformanceOverlay == null)
return const <Widget>[]; return const <Widget>[];
final List<Widget> items = <Widget>[ final List<Widget> items = <Widget>[
......
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