Skip to content

armgit / ente

Public Imported from GitHub
0

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

ensu: keep stop-button circle white in light and dark modes

Prateek Sunal07ac265b4b98
diff --git a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatOverlays.kt b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatOverlays.kt
index 39e947dfc3..9140de2d39 100644
--- a/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatOverlays.kt
+++ b/mobile/native/android/apps/ensu/app-ui/src/main/java/io/ente/ensu/chat/ChatOverlays.kt
@@ -21,6 +21,7 @@ import androidx.compose.material3.TextButton
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
+import androidx.compose.ui.graphics.Color
import androidx.compose.ui.hapticfeedback.HapticFeedbackType
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.dp
@@ -104,7 +105,7 @@ internal fun DownloadToastOverlay(
Box(
modifier = Modifier
.size(22.dp)
- .background(EnsuColor.textPrimary(), CircleShape),
+ .background(Color.White, CircleShape),
contentAlignment = Alignment.Center
) {
Icon(
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageInputView.swift b/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageInputView.swift
index f6aebfda50..73b9cc67fd 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageInputView.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Chat/MessageInputView.swift
@@ -162,7 +162,7 @@ struct MessageInputView: View {
if sendIcon == "StopIcon" {
ZStack {
Circle()
- .fill(EnsuColor.textPrimary)
+ .fill(Color.white)
.frame(width: attachmentIconSize + 6, height: attachmentIconSize + 6)
Image(sendIcon)
.resizable()