mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-23 14:28:15 +00:00
Edit Account should be possible for all accounts; fix type in variable name (#1097)
This commit is contained in:
parent
d39ff54544
commit
a209c9d0c2
1 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ public struct AccountDetailView: View {
|
||||||
|
|
||||||
@EnvironmentObject private var watcher: StreamWatcher
|
@EnvironmentObject private var watcher: StreamWatcher
|
||||||
@EnvironmentObject private var currentAccount: CurrentAccount
|
@EnvironmentObject private var currentAccount: CurrentAccount
|
||||||
@EnvironmentObject private var curretnInstance: CurrentInstance
|
@EnvironmentObject private var currentInstance: CurrentInstance
|
||||||
@EnvironmentObject private var preferences: UserPreferences
|
@EnvironmentObject private var preferences: UserPreferences
|
||||||
@EnvironmentObject private var theme: Theme
|
@EnvironmentObject private var theme: Theme
|
||||||
@EnvironmentObject private var client: Client
|
@EnvironmentObject private var client: Client
|
||||||
|
@ -294,7 +294,7 @@ public struct AccountDetailView: View {
|
||||||
Menu {
|
Menu {
|
||||||
AccountDetailContextMenu(viewModel: viewModel)
|
AccountDetailContextMenu(viewModel: viewModel)
|
||||||
|
|
||||||
if viewModel.relationship?.following == true, !viewModel.isCurrentUser {
|
if !viewModel.isCurrentUser {
|
||||||
Button {
|
Button {
|
||||||
isEditingRelationshipNote = true
|
isEditingRelationshipNote = true
|
||||||
} label: {
|
} label: {
|
||||||
|
@ -309,7 +309,7 @@ public struct AccountDetailView: View {
|
||||||
Label("account.action.edit-info", systemImage: "pencil")
|
Label("account.action.edit-info", systemImage: "pencil")
|
||||||
}
|
}
|
||||||
|
|
||||||
if curretnInstance.isFiltersSupported {
|
if currentInstance.isFiltersSupported {
|
||||||
Button {
|
Button {
|
||||||
isEditingFilters = true
|
isEditingFilters = true
|
||||||
} label: {
|
} label: {
|
||||||
|
|
Loading…
Reference in a new issue