Skip to content

Commit 1a4f1a9

Browse files
committed
Update app.js
1 parent 24def92 commit 1a4f1a9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ function applyFiles(fileList, mode, append = false) {
199199
}
200200
state.enc.files = combined;
201201
showEncPreview(state.enc.files);
202+
// Reset encryption flow UI when new files are selected
203+
if (typeof resetEncryptFlow === 'function') resetEncryptFlow();
202204
} else {
203205
const file = fileList[0];
204206
if (file && !file.name.toLowerCase().endsWith('.enc')) {

0 commit comments

Comments
 (0)