Reinstates NavigationLink

This commit is contained in:
Stuart Breckenridge
2023-06-03 08:48:09 +08:00
parent 41e0e6170c
commit 17c4252841

View File

@@ -49,13 +49,15 @@ struct SettingsRow {
/// This row, when tapped, will push the the Add Account screen
/// in to view.
static var addAccount: some View {
Label {
Text("button.title.manage-accounts", comment: "Manage Accounts")
} icon: {
Image("app.account")
.resizable()
.frame(width: 25.0, height: 25.0)
.clipShape(RoundedRectangle(cornerRadius: 6))
NavigationLink(destination: AccountsManagementView()) {
Label {
Text("button.title.manage-accounts", comment: "Manage Accounts")
} icon: {
Image("app.account")
.resizable()
.frame(width: 25.0, height: 25.0)
.clipShape(RoundedRectangle(cornerRadius: 6))
}
}
}