kopia lustrzana https://github.com/vitorpamplona/amethyst
BugFix for NPE on null ZappedNote
rodzic
5b6b6f19e5
commit
49a8778975
|
@ -191,8 +191,8 @@ class Account(
|
|||
)
|
||||
}
|
||||
|
||||
fun calculateIfNoteWasZappedByAccount(zappedNote: Note): Boolean {
|
||||
return zappedNote.isZappedBy(userProfile(), this) == true
|
||||
fun calculateIfNoteWasZappedByAccount(zappedNote: Note?): Boolean {
|
||||
return zappedNote?.isZappedBy(userProfile(), this) == true
|
||||
}
|
||||
|
||||
fun calculateZappedAmount(zappedNote: Note?): BigDecimal {
|
||||
|
|
Ładowanie…
Reference in New Issue