Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion companion/app/(tabs)/(more)/index.ios.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,24 @@ export default function More() {
))}
</View>

{/* Sign Out Button */}
{/* Delete Account Link */}
<View className="mt-6 overflow-hidden rounded-lg border border-[#E5E5EA] bg-white">
<TouchableOpacity
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for ios app

onPress={() =>
openInAppBrowser("https://app.cal.com/settings/my-account/profile", "Delete Account")
}
className="flex-row items-center justify-between bg-white px-5 py-4 active:bg-red-50"
>
<View className="flex-1 flex-row items-center">
<Ionicons name="trash-outline" size={20} color="#991B1B" />
<Text className="ml-3 text-base font-medium text-[#991B1B]">Delete Account</Text>
</View>
<Ionicons name="open-outline" size={20} color="#C7C7CC" />
</TouchableOpacity>
</View>

{/* Sign Out Button */}
<View className="mt-4 overflow-hidden rounded-lg border border-[#E5E5EA] bg-white">
<TouchableOpacity
onPress={handleSignOut}
className="flex-row items-center justify-center bg-white px-5 py-4 active:bg-red-50"
Expand Down
18 changes: 17 additions & 1 deletion companion/app/(tabs)/(more)/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,24 @@ export default function More() {
))}
</View>

{/* Sign Out Button */}
{/* Delete Account Link */}
<View className="mt-6 overflow-hidden rounded-lg border border-[#E5E5EA] bg-white">
<TouchableOpacity
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for android and extension

onPress={() =>
openInAppBrowser("https://app.cal.com/settings/my-account/profile", "Delete Account")
}
className="flex-row items-center justify-between bg-white px-5 py-4 active:bg-red-50"
>
<View className="flex-1 flex-row items-center">
<Ionicons name="trash-outline" size={20} color="#991B1B" />
<Text className="ml-3 text-base font-medium text-[#991B1B]">Delete Account</Text>
</View>
<Ionicons name="open-outline" size={20} color="#C7C7CC" />
</TouchableOpacity>
</View>

{/* Sign Out Button */}
<View className="mt-4 overflow-hidden rounded-lg border border-[#E5E5EA] bg-white">
<TouchableOpacity
onPress={handleSignOut}
className="flex-row items-center justify-center bg-white px-5 py-4 active:bg-red-50"
Expand Down
2 changes: 1 addition & 1 deletion companion/wxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default defineConfig({
publicDir: "extension/public",
outDir: ".output",
manifest: {
name: "Cal.com Companion",
name: browserTarget === "safari" ? "Cal.com" : "Cal.com Companion",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated this to match apple's platform requirements

version: "1.7.5",
description: "Your calendar companion for quick booking and scheduling",
permissions: [
Expand Down
Loading