Skip to content

Commit 17e3fc8

Browse files
committed
Fix merge conflicts
1 parent 1c80af3 commit 17e3fc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Files/Views/Pages/PropertiesGeneral.xaml.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ public async Task SaveChanges(ListedItem item)
2525
var drive = (BaseProperties as DriveProperties).Drive;
2626
if (!string.IsNullOrWhiteSpace(ViewModel.ItemName) && ViewModel.OriginalItemName != ViewModel.ItemName)
2727
{
28-
if (App.Connection != null)
28+
if (AppInstance.FilesystemViewModel != null)
2929
{
30-
await App.Connection.SendMessageAsync(new ValueSet() {
30+
await AppInstance.FilesystemViewModel.Connection.SendMessageAsync(new ValueSet() {
3131
{ "Arguments", "SetVolumeLabel" },
3232
{ "drivename", drive.Path },
3333
{ "newlabel", ViewModel.ItemName }});
3434
_ = CoreApplication.MainView.ExecuteOnUIThreadAsync(async () =>
3535
{
3636
await drive.Update();
37-
await App.CurrentInstance.FilesystemViewModel.SetWorkingDirectory(drive.Path);
37+
await AppInstance.FilesystemViewModel.SetWorkingDirectory(drive.Path);
3838
});
3939
}
4040
}

0 commit comments

Comments
 (0)