Fixed compile issues
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Balazs Toldi <balazs@toldi.eu>
This commit is contained in:
Balazs Toldi 2021-10-23 14:16:07 +02:00
parent af94e16f4e
commit 90da45609f
Signed by: Bazsalanszky
GPG key ID: 933820884952BE27
3 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -74,7 +74,7 @@ data class Article(
}
@ColumnInfo(name = "")
@ColumnInfo(name = "feedId")
var feedId: Long = 0
companion object {
/**

View file

@ -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())