chore: update empty description copy for spaces (#1968)

This commit is contained in:
ggurdin 2025-02-27 10:37:30 -05:00 committed by GitHub
parent 82ac5da135
commit 60fe4d122d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -4826,5 +4826,6 @@
"enableAutocorrectToolName": "Enable autocorrect",
"enableAutocorrectDescription": "Use your keyboard's built-in autocorrect when typing messages",
"ttsDisbledTitle": "Text-to-speech disabled",
"ttsDisabledBody": "You can enable text-to-speech in your learning settings"
"ttsDisabledBody": "You can enable text-to-speech in your learning settings",
"noSpaceDescriptionYet": "No space description created yet."
}

View file

@ -239,7 +239,9 @@ class PangeaChatDetailsView extends StatelessWidget {
),
child: SelectableLinkify(
text: room.topic.isEmpty
? L10n.of(context).noChatDescriptionYet
? room.isSpace
? L10n.of(context).noSpaceDescriptionYet
: L10n.of(context).noChatDescriptionYet
: room.topic,
options: const LinkifyOptions(humanize: false),
linkStyle: const TextStyle(