(feat): improve mobile cal ui a bit
(feat): add popout for call ui on mobile (fix): fix cache and profile avatar upload stuff
This commit is contained in:
parent
37b2f8747d
commit
b5ce3c554d
14 changed files with 443 additions and 155 deletions
|
|
@ -69,7 +69,8 @@ type IncomingCallInvite = {
|
|||
senderId: number;
|
||||
};
|
||||
type CurrentCallData =
|
||||
(z.infer<typeof mtp.CallData.response> & { exists: boolean }) | null;
|
||||
| (z.infer<typeof mtp.CallData.response> & { exists: boolean })
|
||||
| null;
|
||||
|
||||
type NavigateFn = (options: {
|
||||
to: string;
|
||||
|
|
@ -173,10 +174,7 @@ async function startCallJingle(shouldPlay: () => boolean) {
|
|||
"settings.call_jingle",
|
||||
);
|
||||
|
||||
if (
|
||||
generation !== callJingleGeneration ||
|
||||
!shouldPlay()
|
||||
) {
|
||||
if (generation !== callJingleGeneration || !shouldPlay()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue