Set update URL (#8)

Set the default update URL. Also testing PR workflow.
This commit is contained in:
damontecres 2025-10-15 17:17:16 -04:00 committed by GitHub
parent 84dab0f7e7
commit d1441db422
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -367,7 +367,7 @@ sealed interface AppPreference<T> {
val UpdateUrl =
AppStringPreference(
title = R.string.update_url,
defaultValue = "", // TODO
defaultValue = "https://api.github.com/repos/damontecres/Wholphin/releases/latest",
getter = { it.updateUrl },
setter = { prefs, value ->
prefs.update { updateUrl = value }