Fixes the "Show Anyway" button not working in the first element of the Thread view

This commit is contained in:
Vitor Pamplona
2023-02-20 14:41:32 -05:00
parent 51061250e2
commit 8db743c1e3

View File

@@ -163,7 +163,7 @@ fun NoteMaster(baseNote: Note, accountViewModel: AccountViewModel, navController
if (note?.event == null) { if (note?.event == null) {
BlankNote() BlankNote()
} else if (!account.isAcceptable(noteForReports)) { } else if (!account.isAcceptable(noteForReports) && !showHiddenNote) {
HiddenNote( HiddenNote(
account.getRelevantReports(noteForReports), account.getRelevantReports(noteForReports),
account.userProfile(), account.userProfile(),