This commit is contained in:
abdelkader
2023-05-03 21:08:37 -04:00
2 changed files with 7 additions and 7 deletions

View File

@@ -155,7 +155,7 @@ namespace VCFEditor.Presenter
if (!string.IsNullOrEmpty(path)) if (!string.IsNullOrEmpty(path))
{ {
string ext = _repository.GetExtension(path); string ext = _repository.GetExtension(path);
if (ext != ".vcf") if (!string.Equals(ext, ".vcf", StringComparison.OrdinalIgnoreCase))
{ {
_view.DisplayMessage("Only vcf extension accepted!", "Error"); _view.DisplayMessage("Only vcf extension accepted!", "Error");
return; return;