Skip to content

Commit

Permalink
refactor(neon_files): Adjust
Browse files Browse the repository at this point in the history
Signed-off-by: jld3103 <[email protected]>
  • Loading branch information
provokateurin committed Aug 10, 2023
1 parent d4b713e commit 6189519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/neon/neon_files/lib/blocs/files.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class FilesBloc extends InteractiveBloc implements FilesBlocEvents, FilesBlocSta
() async {
final file = File(
p.join(
await _platform.getApplicationCachePath(),
await _platform.getApplicationCachePath() ?? '',
'files',
etag.replaceAll('"', ''),
path.last,
Expand Down Expand Up @@ -149,7 +149,7 @@ class FilesBloc extends InteractiveBloc implements FilesBlocEvents, FilesBlocSta
() async {
final file = File(
p.join(
await _platform.getUserAccessibleAppDataPath(),
await _platform.getUserAccessibleAppDataPath() ?? '',
account.humanReadableID,
'files',
path.join(Platform.pathSeparator),
Expand Down

0 comments on commit 6189519

Please sign in to comment.