chore: Code-style adjustments

This commit is contained in:
Marcus Kida 2022-12-07 16:03:52 +01:00
parent bfdb2e2de9
commit 671b0e33f4
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40
2 changed files with 3 additions and 3 deletions

View File

@ -209,13 +209,13 @@ extension NotificationView.ViewModel {
$isTranslated
)
)
.sink { authorName, isMuting, isBlocking, comb2 in
.sink { authorName, isMuting, isBlocking, isMyselfIsTranslated in
guard let name = authorName?.string else {
notificationView.menuButton.menu = nil
return
}
let (isMyself, isTranslated) = comb2
let (isMyself, isTranslated) = isMyselfIsTranslated
let menuContext = NotificationView.AuthorMenuContext(
name: name,

View File

@ -148,7 +148,7 @@ extension StatusView {
filterContext = nil
}
init() {
init() {
// isReblogEnabled
Publishers.CombineLatest(
$visibility,