refactor: Simplify conditional rendering logic using null aware operators (#1049)
This commit is contained in:
@@ -11,8 +11,8 @@ extension _App on _AppSettingsPageState {
|
||||
_buildCheckUpdate(),
|
||||
_buildHomeTabs(),
|
||||
PlatformPublicSettings.buildBioAuth,
|
||||
if (androidSettings != null) androidSettings,
|
||||
if (specific != null) specific,
|
||||
?androidSettings,
|
||||
?specific,
|
||||
_buildAppMore(),
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user