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

2
app/.gitignore vendored
View file

@ -1 +1 @@
/build /build

View file

@ -18,4 +18,4 @@
# If you keep the line number information, uncomment this to # If you keep the line number information, uncomment this to
# hide the original source file name. # hide the original source file name.
#-renamesourcefileattribute SourceFile #-renamesourcefileattribute SourceFile

View file

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

View file

@ -20,4 +20,4 @@ kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the # Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies, # resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library # thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true android.nonTransitiveRClass=true