Merge branch 'dev' into test
This commit is contained in:
@@ -55,7 +55,7 @@ export function SidebarScreen() {
|
|||||||
sidebarState !== "guest" && user.currentUser == null;
|
sidebarState !== "guest" && user.currentUser == null;
|
||||||
|
|
||||||
const name = user.currentUser?.username ?? FALLBACK_USERNAME;
|
const name = user.currentUser?.username ?? FALLBACK_USERNAME;
|
||||||
const avatarUrl = user.currentUser?.avatarUrl ?? null;
|
const avatarUrl = user.avatarUrl ?? user.currentUser?.avatarUrl ?? null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MobileShell>
|
<MobileShell>
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ export function SubscriptionScreen({
|
|||||||
selectedPlan !== null && payment.agreed && !isPaymentBusy;
|
selectedPlan !== null && payment.agreed && !isPaymentBusy;
|
||||||
|
|
||||||
const name = user.currentUser?.username ?? FALLBACK_USERNAME;
|
const name = user.currentUser?.username ?? FALLBACK_USERNAME;
|
||||||
const avatarUrl = user.currentUser?.avatarUrl ?? null;
|
const avatarUrl = user.avatarUrl ?? user.currentUser?.avatarUrl ?? null;
|
||||||
const autoRenewCaption = payment.autoRenew
|
const autoRenewCaption = payment.autoRenew
|
||||||
? "It will automatically renew upon expiration, and can be canceled at any time"
|
? "It will automatically renew upon expiration, and can be canceled at any time"
|
||||||
: "This plan is a one-time purchase and will not automatically renew";
|
: "This plan is a one-time purchase and will not automatically renew";
|
||||||
|
|||||||
Reference in New Issue
Block a user