Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Polish Space calls to action

Anand Baburajan1014accea0a4
diff --git a/web/apps/space/src/components/SpaceFileViewer.tsx b/web/apps/space/src/components/SpaceFileViewer.tsx
index 338e7bc2d9..e8c286f7a6 100644
--- a/web/apps/space/src/components/SpaceFileViewer.tsx
+++ b/web/apps/space/src/components/SpaceFileViewer.tsx
@@ -2213,6 +2213,7 @@ export const SpaceFileViewer: React.FC<SpaceFileViewerProps> = ({
}
confirmLabel="Add friend"
confirmBackgroundColor={green}
+ confirmClassName="green-bg"
onCancel={() => setAddFriendSheetOpen(false)}
onConfirm={confirmAddFriendForPostAction}
/>
diff --git a/web/apps/space/src/components/SpacePWAInstallPrompt.tsx b/web/apps/space/src/components/SpacePWAInstallPrompt.tsx
index cfb69cd4ef..42f2a43e0b 100644
--- a/web/apps/space/src/components/SpacePWAInstallPrompt.tsx
+++ b/web/apps/space/src/components/SpacePWAInstallPrompt.tsx
@@ -281,6 +281,7 @@ const SpacePWAInstallInstructions: React.FC<
))}
</Box>
<Box
+ className="green-bg"
component="button"
type="button"
onClick={onDismiss}
diff --git a/web/apps/space/src/screens/FriendsScreen.tsx b/web/apps/space/src/screens/FriendsScreen.tsx
index ab42ed0726..aafcee8bcc 100644
--- a/web/apps/space/src/screens/FriendsScreen.tsx
+++ b/web/apps/space/src/screens/FriendsScreen.tsx
@@ -467,6 +467,7 @@ const FriendRequestRow: React.FC<FriendRequestRowProps> = ({
{isReceived ? (
<>
<Box
+ className="green-bg"
component="button"
type="button"
disabled={isBusy}
diff --git a/web/apps/space/src/screens/MessagesScreen.tsx b/web/apps/space/src/screens/MessagesScreen.tsx
index 488b58c9a5..207b05e217 100644
--- a/web/apps/space/src/screens/MessagesScreen.tsx
+++ b/web/apps/space/src/screens/MessagesScreen.tsx
@@ -701,6 +701,7 @@ const ConversationListItem: React.FC<{
{isFriendRequest && (
<Box sx={{ display: "flex", flexShrink: 0, gap: "6px" }}>
<Box
+ className="green-bg"
component="button"
type="button"
onClick={confirmFriendRequest}
@@ -2681,6 +2682,7 @@ export const MessagesScreen: React.FC<MessagesScreenProps> = ({
</Box>
{showInviteEmptyState && (
<SpaceShareInviteButton
+ label="Invite friends"
profileLink={profileLink}
sharing={isInviteSharing}
onShareError={(error) =>