diff --git a/Folicon_Native/Model/LayoutDesign.vb b/Folicon_Native/Model/LayoutDesign.vb index 7396bbcc..101bd759 100644 --- a/Folicon_Native/Model/LayoutDesign.vb +++ b/Folicon_Native/Model/LayoutDesign.vb @@ -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 \ No newline at end of file