feat(companion): manifest id for safari extension & add delete account link (#26802)
* feat: manifest id for safari * add delete account button
This commit is contained in:
@@ -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
|
||||
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"
|
||||
|
||||
@@ -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
|
||||
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"
|
||||
|
||||
@@ -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",
|
||||
version: "1.7.5",
|
||||
description: "Your calendar companion for quick booking and scheduling",
|
||||
permissions: [
|
||||
|
||||
Reference in New Issue
Block a user