Add "Share course" tooltip to ShareRoomButton (#4375)
* Initial plan * Add 'Share course' tooltip to ShareRoomButton Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com> * Move shareCourse localization to end of intl_en.arb Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ggurdin <46800240+ggurdin@users.noreply.github.com>
This commit is contained in:
parent
b9e0ac6ee4
commit
3cfe97059d
2 changed files with 7 additions and 1 deletions
|
|
@ -5315,5 +5315,10 @@
|
|||
"leaveDesc": "Leave this space and all chats within it",
|
||||
"selectAll": "Select all",
|
||||
"deselectAll": "Deselect all",
|
||||
"newMessageInPangeaChat": "💬 New message in Pangea Chat"
|
||||
"newMessageInPangeaChat": "💬 New message in Pangea Chat",
|
||||
"shareCourse": "Share course",
|
||||
"@shareCourse": {
|
||||
"type": "String",
|
||||
"placeholders": {}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ class ShareRoomButton extends StatelessWidget {
|
|||
|
||||
return PopupMenuButton(
|
||||
useRootNavigator: true,
|
||||
tooltip: L10n.of(context).shareCourse,
|
||||
child: const Icon(Symbols.upload),
|
||||
onSelected: (value) async {
|
||||
final spaceCode = room.classCode!;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue