Skip to content

Commit ad47e52

Browse files
authored
Merge branch 'main' into ViewsRefactoring
2 parents c211487 + 42bc72a commit ad47e52

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Files.App/Helpers/DynamicDialogFactory.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ public static DynamicDialog GetFor_RenameDialog()
7979
dialog!.ViewModel.DynamicButtonsEnabled = isInputValid
8080
? DynamicDialogButtons.Primary | DynamicDialogButtons.Cancel
8181
: DynamicDialogButtons.Cancel;
82+
if (isInputValid)
83+
dialog.ViewModel.AdditionalData = inputText.Text;
8284
};
8385

8486
inputText.Loaded += (s, e) =>

0 commit comments

Comments
 (0)