Fixes NPE on opening the QuickAction on a "Post Not Found" event.
This commit is contained in:
@@ -128,7 +128,7 @@ fun NoteQuickActionMenu(note: Note, popupExpanded: Boolean, onDismiss: () -> Uni
|
|||||||
|
|
||||||
if (popupExpanded) {
|
if (popupExpanded) {
|
||||||
val isOwnNote = accountViewModel.isLoggedUser(note.author)
|
val isOwnNote = accountViewModel.isLoggedUser(note.author)
|
||||||
val isFollowingUser = !isOwnNote && accountViewModel.isFollowing(note.author!!)
|
val isFollowingUser = !isOwnNote && accountViewModel.isFollowing(note.author)
|
||||||
|
|
||||||
Popup(onDismissRequest = onDismiss) {
|
Popup(onDismissRequest = onDismiss) {
|
||||||
Card(
|
Card(
|
||||||
|
|||||||
Reference in New Issue
Block a user