Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
parent
af94e16f4e
commit
90da45609f
3 changed files with 3 additions and 3 deletions
|
@ -195,7 +195,7 @@ class MainActivity : ComponentActivity() {
|
|||
Button(
|
||||
onClick = {
|
||||
try {
|
||||
val feed = Feed(URL(text))
|
||||
val feed = Feed(null,text)
|
||||
syncJob = GlobalScope.launch(IO) { feed.updateFeed() }
|
||||
if (selectedIndex == 0)
|
||||
viewModel.addFeed(feed)
|
||||
|
|
|
@ -74,7 +74,7 @@ data class Article(
|
|||
|
||||
}
|
||||
|
||||
@ColumnInfo(name = "")
|
||||
@ColumnInfo(name = "feedId")
|
||||
var feedId: Long = 0
|
||||
companion object {
|
||||
/**
|
||||
|
|
|
@ -24,7 +24,7 @@ ext.getVersionCode = { ->
|
|||
try {
|
||||
def stdout = new ByteArrayOutputStream()
|
||||
exec {
|
||||
commandLine 'git', 'rev-list', '--first-parent', '--count', 'origin/main'
|
||||
commandLine 'git', 'rev-list', '--first-parent', '--count', '--all'
|
||||
standardOutput = stdout
|
||||
}
|
||||
return Integer.parseInt(stdout.toString().trim())
|
||||
|
|
Loading…
Reference in a new issue