mirror of
https://github.com/wismna/ModernKeePass.git
synced 2025-10-03 23:50:18 -04:00
Switched to .Net Standard (yet again...)
Changed every PCL call to WinRt WIP on CompositeKey
This commit is contained in:
@@ -310,12 +310,13 @@ namespace ModernKeePassLibPCL.Serialization
|
||||
{
|
||||
#if ModernKeePassLibPCL
|
||||
if(IsLocalFile())
|
||||
return (FileSystem.Current.GetFileFromPathAsync(m_strUrl).Result != null);
|
||||
//return (FileSystem.Current.GetFileFromPathAsync(m_strUrl).Result != null);
|
||||
return StorageFile.GetFileFromPathAsync(m_strUrl).GetResults() != null;
|
||||
#else
|
||||
if(IsLocalFile()) return File.Exists(m_strUrl);
|
||||
#endif
|
||||
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool IsLocalFile()
|
||||
|
Reference in New Issue
Block a user