fix(widget): Update widget URL scheme from homewidget to conduit

This commit is contained in:
cogwheel0
2025-12-16 20:35:21 +05:30
parent 117e111f1a
commit f3744ba9b2
4 changed files with 68 additions and 16 deletions

View File

@@ -55,7 +55,7 @@ struct ConduitWidgetEntryView: View {
var body: some View {
VStack(spacing: 12) {
// Main "Ask Conduit" pill - ChatGPT style
Link(destination: URL(string: "homewidget://new_chat")!) {
Link(destination: URL(string: "conduit://new_chat")!) {
HStack(spacing: 12) {
Image("HubIcon")
.renderingMode(.template)
@@ -82,25 +82,25 @@ struct ConduitWidgetEntryView: View {
HStack(spacing: 8) {
CircularIconButton(
symbol: "camera",
url: "homewidget://camera",
url: "conduit://camera",
contentColor: contentColor,
buttonBackground: buttonBackground
)
CircularIconButton(
symbol: "photo.on.rectangle.angled",
url: "homewidget://photos",
url: "conduit://photos",
contentColor: contentColor,
buttonBackground: buttonBackground
)
CircularIconButton(
symbol: "waveform",
url: "homewidget://mic",
url: "conduit://mic",
contentColor: contentColor,
buttonBackground: buttonBackground
)
CircularIconButton(
symbol: "doc.on.clipboard",
url: "homewidget://clipboard",
url: "conduit://clipboard",
contentColor: contentColor,
buttonBackground: buttonBackground
)

View File

@@ -45,6 +45,16 @@
<string>ShareMedia-app.cogwheel.conduit</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>app.cogwheel.conduit.widget</string>
<key>CFBundleURLSchemes</key>
<array>
<string>conduit</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>