chore: add leave space description (#4341)

This commit is contained in:
ggurdin 2025-10-10 16:40:09 -04:00 committed by GitHub
parent 76b267b10d
commit 97984f85eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -5311,5 +5311,6 @@
"noPublicCoursesFound": "No public courses found. Would you like to create one?",
"noCourseTemplatesFound": "We couldn't find any courses for your target language. You can chat with Pangea Bot in the meantime, and check back later for more courses.",
"botActivityJoinFailMessage": "Pangea Bot is taking a while to respond. Please try again later, or invite a friend.",
"unsubscribedResponseError": "This feature requires a subscription"
"unsubscribedResponseError": "This feature requires a subscription",
"leaveDesc": "Leave this space and all chats within it"
}

View file

@ -151,6 +151,7 @@ class SpaceDetailsContent extends StatelessWidget {
),
ButtonDetails(
title: l10n.leave,
description: l10n.leaveDesc,
icon: const Icon(Icons.logout_outlined, size: 30.0),
onPressed: () async {
final confirmed = await showOkCancelAlertDialog(