mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-03 16:50:40 +02:00
fix(lints): await asynchronous work in guarded blocks
This commit is contained in:
@@ -100,7 +100,7 @@ Future<bool> openPendingExtensionVerification(
|
||||
_log.w(
|
||||
'Could not open verification challenge for $normalizedExtensionId',
|
||||
);
|
||||
return showExtensionVerificationHelpDialog(
|
||||
return await showExtensionVerificationHelpDialog(
|
||||
normalizedExtensionId,
|
||||
uri,
|
||||
browserMode: browserMode,
|
||||
|
||||
@@ -49,8 +49,8 @@ String buildSafFileDisplayPath({
|
||||
if (displayRoot != null) {
|
||||
return [
|
||||
displayRoot.replaceAll(RegExp(r'/+$'), ''),
|
||||
if (cleanRelativeDir != null) cleanRelativeDir,
|
||||
if (cleanFileName != null) cleanFileName,
|
||||
?cleanRelativeDir,
|
||||
?cleanFileName,
|
||||
].join('/');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user