Update chat-only mode button copy
This commit is contained in:
parent
76fa2277a0
commit
a0c945a8d4
1 changed files with 7 additions and 1 deletions
|
|
@ -214,7 +214,13 @@ class ChatDetails extends StatelessWidget {
|
|||
),
|
||||
ListTile(
|
||||
leading: const Icon(Icons.chat_rounded),
|
||||
title: const Text('Toggle chat-only mode'),
|
||||
title: Observer(
|
||||
builder: (context) {
|
||||
return Text(
|
||||
'${chatStore.settings.showVideo ? 'Enter' : 'Exit'} chat-only mode',
|
||||
);
|
||||
},
|
||||
),
|
||||
onTap: () =>
|
||||
chatStore.settings.showVideo = !chatStore.settings.showVideo,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue