mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Set update URL (#8)
Set the default update URL. Also testing PR workflow.
This commit is contained in:
parent
84dab0f7e7
commit
d1441db422
4 changed files with 4 additions and 4 deletions
2
app/.gitignore
vendored
2
app/.gitignore
vendored
|
|
@ -1 +1 @@
|
|||
/build
|
||||
/build
|
||||
|
|
|
|||
2
app/proguard-rules.pro
vendored
2
app/proguard-rules.pro
vendored
|
|
@ -18,4 +18,4 @@
|
|||
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
#-renamesourcefileattribute SourceFile
|
||||
|
|
|
|||
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue