mirror of
https://github.com/block/buzz.git
synced 2026-11-24 10:12:19 +00:00
fix(mobile): keep Send to Desktop named onboarding
Co-authored-by: studio <dc2fc481343672df31a689840c09299972e704dac592e0da6f18486646a7ee3e@localhost> Signed-off-by: Tom Brow <tomb@block.xyz>
This commit is contained in:
@@ -39,7 +39,10 @@ DiagnosticScreen? diagnosticScreenOf(Widget page) => switch (page) {
|
||||
CommunityInvitePage() => DiagnosticScreen.invites,
|
||||
CommunitySwitcherPage() => DiagnosticScreen.communitySwitcher,
|
||||
OnboardingAppEntry(addingCommunity: true) ||
|
||||
PairingPage(addingCommunity: true) => DiagnosticScreen.addCommunity,
|
||||
PairingPage(
|
||||
addingCommunity: true,
|
||||
identityRecoveryOnly: false,
|
||||
) => DiagnosticScreen.addCommunity,
|
||||
MediaImageViewerPage() ||
|
||||
MediaVideoViewerPage() => DiagnosticScreen.mediaViewer,
|
||||
OnboardingAppEntry() ||
|
||||
|
||||
@@ -19,6 +19,11 @@ void main() {
|
||||
DiagnosticScreen.addCommunity,
|
||||
),
|
||||
(const PairingPage(addingCommunity: true), DiagnosticScreen.addCommunity),
|
||||
// Send to Desktop recovers an identity; it adds no community.
|
||||
(
|
||||
const PairingPage(addingCommunity: true, identityRecoveryOnly: true),
|
||||
DiagnosticScreen.onboarding,
|
||||
),
|
||||
// Not on the list: never named by its own type.
|
||||
(const Text('unlisted'), null),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user