Edit Account should be possible for all accounts; fix type in variable name (#1097)
This commit is contained in:
parent
d39ff54544
commit
a209c9d0c2
|
@ -12,7 +12,7 @@ public struct AccountDetailView: View {
|
|||
|
||||
@EnvironmentObject private var watcher: StreamWatcher
|
||||
@EnvironmentObject private var currentAccount: CurrentAccount
|
||||
@EnvironmentObject private var curretnInstance: CurrentInstance
|
||||
@EnvironmentObject private var currentInstance: CurrentInstance
|
||||
@EnvironmentObject private var preferences: UserPreferences
|
||||
@EnvironmentObject private var theme: Theme
|
||||
@EnvironmentObject private var client: Client
|
||||
|
@ -294,7 +294,7 @@ public struct AccountDetailView: View {
|
|||
Menu {
|
||||
AccountDetailContextMenu(viewModel: viewModel)
|
||||
|
||||
if viewModel.relationship?.following == true, !viewModel.isCurrentUser {
|
||||
if !viewModel.isCurrentUser {
|
||||
Button {
|
||||
isEditingRelationshipNote = true
|
||||
} label: {
|
||||
|
@ -309,7 +309,7 @@ public struct AccountDetailView: View {
|
|||
Label("account.action.edit-info", systemImage: "pencil")
|
||||
}
|
||||
|
||||
if curretnInstance.isFiltersSupported {
|
||||
if currentInstance.isFiltersSupported {
|
||||
Button {
|
||||
isEditingFilters = true
|
||||
} label: {
|
||||
|
|
Loading…
Reference in New Issue