@poolse/react-native 2.27.0 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1461,8 +1461,8 @@ var styles7 = StyleSheet.create({
|
|
|
1461
1461
|
});
|
|
1462
1462
|
function LiveCallBanner({ call, inCall, onJoin }) {
|
|
1463
1463
|
const theme = usePoolseTheme();
|
|
1464
|
-
const what = call.media === "video" ? "Video call in progress" : "Voice call in progress";
|
|
1465
|
-
const who = inCall > 0 ? `${inCall} on the call` : "Ringing";
|
|
1464
|
+
const what = call.kind === "room" ? call.media === "video" ? "Video room" : "Voice room" : call.media === "video" ? "Video call in progress" : "Voice call in progress";
|
|
1465
|
+
const who = inCall > 0 ? `${inCall} ${call.kind === "room" ? "in the room" : "on the call"}` : call.kind === "room" ? "Starting" : "Ringing";
|
|
1466
1466
|
return /* @__PURE__ */ jsxs(
|
|
1467
1467
|
View,
|
|
1468
1468
|
{
|