(feat): improve mobile cal ui a bit
All checks were successful
/ build-web (push) Successful in 7m40s
/ build-desktop (linux) (push) Successful in 12m10s
/ build-mobile (push) Successful in 19m34s
/ release (push) Successful in 3m31s

(feat): add popout for call ui on mobile
(fix): fix cache and profile avatar upload stuff
This commit is contained in:
Alois 2026-07-31 22:17:08 +02:00
commit b5ce3c554d
Signed by: alois
SSH key fingerprint: SHA256:GBzT2DXvAuGV9XIV5W3WrzVpjU54FThmxHXdbz95J24
14 changed files with 443 additions and 155 deletions

View file

@ -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;
}