chore: Code-style adjustments
This commit is contained in:
parent
bfdb2e2de9
commit
671b0e33f4
|
@ -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,
|
||||
|
|
|
@ -148,7 +148,7 @@ extension StatusView {
|
|||
filterContext = nil
|
||||
}
|
||||
|
||||
init() {
|
||||
init() {
|
||||
// isReblogEnabled
|
||||
Publishers.CombineLatest(
|
||||
$visibility,
|
||||
|
|
Loading…
Reference in New Issue