fix(app): restore playback and state lifecycle contracts
This commit is contained in:
@@ -73,9 +73,16 @@ class _SessionIndicator extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final semanticValue = [
|
||||
'${t.watchTogether.participants}: $participantCount',
|
||||
if (isHost) t.watchTogether.youAreHost,
|
||||
if (isSyncing) t.watchTogether.syncing,
|
||||
].join(', ');
|
||||
|
||||
return FocusableWrapper(
|
||||
onSelect: onTap,
|
||||
semanticLabel: t.watchTogether.openSessionControls,
|
||||
semanticValue: semanticValue,
|
||||
descendantsAreFocusable: false,
|
||||
borderRadius: 20,
|
||||
useBackgroundFocus: true,
|
||||
@@ -173,6 +180,7 @@ class _SessionMenuSheet extends StatelessWidget {
|
||||
FocusableWrapper(
|
||||
onSelect: () => _copySessionCode(context, provider.sessionId!),
|
||||
semanticLabel: t.watchTogether.copySessionCode,
|
||||
semanticValue: provider.sessionId!,
|
||||
descendantsAreFocusable: false,
|
||||
borderRadius: 8,
|
||||
useBackgroundFocus: true,
|
||||
|
||||
Reference in New Issue
Block a user