Skip to content

Commit

Permalink
fixed error caused by design data bind mistake in recent last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
DineshSolanki committed Jul 2, 2020
1 parent 0467135 commit f2cfc75
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions Folicon_Native/Model/LayoutDesign.vb
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,14 @@ Namespace Model
Public Class LayoutDesign
Inherits MyMovieIconLayout
Public Sub New()
MyBase.New("C:\dummy.jpg", "8.1", "visible", "visible")
MyBase.New(DummyFolderJpg(), "8.1")
End Sub
Private Shared Async Function DummyFolderJpgAsync() As Task(Of String)
Dim tmpPath = IO.Path.GetTempPath
Dim folderJpgPath = IO.Path.Combine(tmpPath, "posterDummy.jpg")
'If Not IO.File.Exists(folderJpgPath) Then
' Await DownloadImageFromUrlAsync("https://image.tmdb.org/t/p/original/r0bgHi3MwGHTKPWyJdORsb4ukY8.jpg", folderJpgPath)
'End If
Private Shared Async Function DummyFolderJpg() As Task(Of String)
Dim folderJpgPath = "H:\Users\ \Documents\Video\24 (IN)\24 (IN).jpg"
If Not IO.File.Exists(folderJpgPath) Then

End If
Return folderJpgPath
End Function
Private Shared Async Function GetImageAsync(url As String, savePath As String) As Task
Await DownloadImageFromUrlAsync(url, savePath)
End Function
End Class
End Namespace

0 comments on commit f2cfc75

Please sign in to comment.