fix: Last time fixing the parsing date hack before moving it to os version.

This commit is contained in:
aminecmi
2024-04-17 12:22:33 +02:00
parent 204b736c53
commit 859bd91bbb
6 changed files with 45 additions and 22 deletions

View File

@ -146,6 +146,14 @@ class SelfossModel {
return txt
}
fun sourceAuthorOnly(): String {
var txt = this.sourcetitle.getHtmlDecoded()
if (!this.author.isNullOrBlank()) {
txt += " (by ${this.author}) "
}
return txt
}
fun toggleStar(): Item {
this.starred = !this.starred
return this