@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.cjs
CHANGED
|
@@ -1489,8 +1489,8 @@ var styles7 = reactNative.StyleSheet.create({
|
|
|
1489
1489
|
});
|
|
1490
1490
|
function LiveCallBanner({ call, inCall, onJoin }) {
|
|
1491
1491
|
const theme = usePoolseTheme();
|
|
1492
|
-
const what = call.media === "video" ? "Video call in progress" : "Voice call in progress";
|
|
1493
|
-
const who = inCall > 0 ? `${inCall} on the call` : "Ringing";
|
|
1492
|
+
const what = call.kind === "room" ? call.media === "video" ? "Video room" : "Voice room" : call.media === "video" ? "Video call in progress" : "Voice call in progress";
|
|
1493
|
+
const who = inCall > 0 ? `${inCall} ${call.kind === "room" ? "in the room" : "on the call"}` : call.kind === "room" ? "Starting" : "Ringing";
|
|
1494
1494
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1495
1495
|
reactNative.View,
|
|
1496
1496
|
{
|