Audio files download on application start. Home screen shows status message

This commit is contained in:
NeilClack
2026-06-18 21:52:29 -05:00
parent 7ecb90b63b
commit 2af1aae885
5 changed files with 146 additions and 76 deletions
+9 -7
View File
@@ -3,6 +3,7 @@ package page
import (
"gorm.io/gorm"
"rhemawavetech.com/rhemawave/internal/db"
"rhemawavetech.com/rhemawave/internal/download"
)
type pageType int
@@ -22,13 +23,14 @@ const (
)
type PageCtx struct {
CfgPtr *db.AppConfig
DbPtr *gorm.DB
W, H int32
RefreshConfig func()
NavigateTo func(pageType)
Msg string // Message to be displayed by MessagePage
Inst string // Instructions to be displayed on MessagePage
CfgPtr *db.AppConfig
DbPtr *gorm.DB
W, H int32
MessageChannel chan download.DownloadStatus
RefreshConfig func()
NavigateTo func(pageType)
Msg string // Message to be displayed by MessagePage
Inst string // Instructions to be displayed on MessagePage
}
type Router struct {