Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Moment
Browse files Browse the repository at this point in the history
misandrie committed Nov 24, 2023
1 parent 0cef39b commit e1a5c84
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -63,11 +63,11 @@ public class PathToFileNameConverter : IValueConverter
public object? Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var path = value as string;
return System.IO.Path.GetFileName(path);
return Path.GetFileName(path);
}

public object? ConvertBack(object? value, Type targetType, object? parameter, CultureInfo culture)
{
throw new NotImplementedException();
return value;
}
}

0 comments on commit e1a5c84

Please sign in to comment.