Skip to content

Commit 8e4264e

Browse files
committed
also put stuff in date-unknown even if we're not dividing by dates
close #245 thanks @hidetheweed for bringing attention to this!
1 parent 9a075c7 commit 8e4264e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/moving.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ Stream<int> moveFiles(
109109
p.join(
110110
output.path,
111111
file.key?.trim() ?? 'ALL_PHOTOS', // album or all
112-
divideToDates
113-
? date == null
114-
? 'date-unknown'
115-
: p.join(
112+
date == null
113+
? 'date-unknown'
114+
: divideToDates
115+
? p.join(
116116
'${date.year}',
117117
date.month.toString().padLeft(2, '0'),
118118
)
119-
: '',
119+
: '',
120120
),
121121
);
122122
// now folder logic is so complex i'll just create it every time 🤷

0 commit comments

Comments
 (0)