File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ class _ServerDetailPageState extends ConsumerState<ServerDetailPage> with Single
103103 Widget _buildMainPage (ServerState si) {
104104 final buildFuncs = ! _moveServerFuncs;
105105 final logo = _buildLogo (si);
106- final children = < Widget > [if (logo != null ) logo, if (buildFuncs) ServerFuncBtns (spi: si.spi)];
106+ final children = < Widget > [? logo, if (buildFuncs) ServerFuncBtns (spi: si.spi)];
107107 for (final card in _cardsOrder) {
108108 final child = _cardBuildMap[card]? .call (si);
109109 if (child != null ) {
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ class _SshDiscoveryPageState extends ConsumerState<SshDiscoveryPage> {
162162 layoutBuilder: (currentChild, previousChildren) {
163163 return Stack (
164164 alignment: Alignment .centerRight,
165- children: < Widget > [...previousChildren, if (currentChild != null ) currentChild],
165+ children: < Widget > [...previousChildren, ? currentChild],
166166 );
167167 },
168168 child: selectedResults.isNotEmpty
Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ extension _App on _AppSettingsPageState {
1111 _buildCheckUpdate (),
1212 _buildHomeTabs (),
1313 PlatformPublicSettings .buildBioAuth,
14- if (androidSettings != null ) androidSettings,
15- if (specific != null ) specific,
14+ ? androidSettings,
15+ ? specific,
1616 _buildAppMore (),
1717 ];
1818
You can’t perform that action at this time.
0 commit comments