minor code improvements
This commit is contained in:
@@ -22,7 +22,7 @@ Public Class AppUpdater
|
||||
Using client As New WebDavClient(params)
|
||||
Dim result = Await client.Propfind(String.Empty)
|
||||
|
||||
If result.IsSuccessful AndAlso result.Resources.Any Then
|
||||
If result.IsSuccessful AndAlso result.Resources.Count <> 0 Then
|
||||
Dim resource = result.Resources(0)
|
||||
Dim appModificationDate = File.GetLastWriteTimeUtc(appFileName)
|
||||
Dim remoteModificationDate = resource.LastModifiedDate?.ToUniversalTime
|
||||
|
||||
Reference in New Issue
Block a user