Fix settings size for chat & tweak msg limit
This commit is contained in:
parent
ba7d2b4eda
commit
2082e50ca1
2 changed files with 6 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ part 'chat_store.g.dart';
|
|||
class ChatStore = _ChatStoreBase with _$ChatStore;
|
||||
|
||||
abstract class _ChatStoreBase with Store {
|
||||
static const _messageLimit = 5555;
|
||||
static const _messageLimit = 5000;
|
||||
|
||||
/// The provided auth store to determine login status, get the token, and use the headers for requests.
|
||||
final AuthStore auth;
|
||||
|
|
|
|||
|
|
@ -56,8 +56,12 @@ class VideoChat extends StatelessWidget {
|
|||
tooltip: 'Settings',
|
||||
icon: const Icon(Icons.settings),
|
||||
onPressed: () => showModalBottomSheet(
|
||||
isScrollControlled: true,
|
||||
context: context,
|
||||
builder: (_) => Settings(settingsStore: settingsStore),
|
||||
builder: (_) => SizedBox(
|
||||
height: MediaQuery.of(context).size.height * 0.8,
|
||||
child: Settings(settingsStore: settingsStore),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue