mirror of
https://github.com/abdelkader/vCardEditor
synced 2025-12-12 08:27:19 +07:00
fusion
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user