Merge pull request #1197 from chriseidhof/channels
The link should be skills
This commit is contained in:
@@ -210,6 +210,7 @@ extension OnboardingView {
|
|||||||
title: String,
|
title: String,
|
||||||
subtitle: String,
|
subtitle: String,
|
||||||
systemImage: String,
|
systemImage: String,
|
||||||
|
buttonTitle: String,
|
||||||
action: @escaping () -> Void) -> some View
|
action: @escaping () -> Void) -> some View
|
||||||
{
|
{
|
||||||
HStack(alignment: .top, spacing: 12) {
|
HStack(alignment: .top, spacing: 12) {
|
||||||
@@ -222,7 +223,7 @@ extension OnboardingView {
|
|||||||
Text(subtitle)
|
Text(subtitle)
|
||||||
.font(.subheadline)
|
.font(.subheadline)
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
Button("Open Settings → Skills", action: action)
|
Button(buttonTitle, action: action)
|
||||||
.buttonStyle(.link)
|
.buttonStyle(.link)
|
||||||
.padding(.top, 2)
|
.padding(.top, 2)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -695,7 +695,8 @@ extension OnboardingView {
|
|||||||
self.featureActionRow(
|
self.featureActionRow(
|
||||||
title: "Connect WhatsApp or Telegram",
|
title: "Connect WhatsApp or Telegram",
|
||||||
subtitle: "Open Settings → Channels to link channels and monitor status.",
|
subtitle: "Open Settings → Channels to link channels and monitor status.",
|
||||||
systemImage: "link")
|
systemImage: "link",
|
||||||
|
buttonTitle: "Open Settings → Channels")
|
||||||
{
|
{
|
||||||
self.openSettings(tab: .channels)
|
self.openSettings(tab: .channels)
|
||||||
}
|
}
|
||||||
@@ -711,7 +712,8 @@ extension OnboardingView {
|
|||||||
self.featureActionRow(
|
self.featureActionRow(
|
||||||
title: "Give your agent more powers",
|
title: "Give your agent more powers",
|
||||||
subtitle: "Enable optional skills (Peekaboo, oracle, camsnap, …) from Settings → Skills.",
|
subtitle: "Enable optional skills (Peekaboo, oracle, camsnap, …) from Settings → Skills.",
|
||||||
systemImage: "sparkles")
|
systemImage: "sparkles",
|
||||||
|
buttonTitle: "Open Settings → Skills")
|
||||||
{
|
{
|
||||||
self.openSettings(tab: .skills)
|
self.openSettings(tab: .skills)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user