|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
import 'package:flutter/foundation.dart';
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
|
|
import 'package:flutter_gen/gen_l10n/l10n.dart';
|
|
|
|
@ -77,7 +76,6 @@ class SettingsChatView extends StatelessWidget {
|
|
|
|
|
storeKey: SettingKeys.sendOnEnter,
|
|
|
|
|
defaultValue: AppConfig.sendOnEnter,
|
|
|
|
|
),
|
|
|
|
|
if (Matrix.of(context).webrtcIsSupported)
|
|
|
|
|
SettingsSwitchListTile.adaptive(
|
|
|
|
|
title: L10n.of(context)!.experimentalVideoCalls,
|
|
|
|
|
onChanged: (b) {
|
|
|
|
@ -88,7 +86,7 @@ class SettingsChatView extends StatelessWidget {
|
|
|
|
|
storeKey: SettingKeys.experimentalVoip,
|
|
|
|
|
defaultValue: AppConfig.experimentalVoip,
|
|
|
|
|
),
|
|
|
|
|
if (Matrix.of(context).webrtcIsSupported && !kIsWeb)
|
|
|
|
|
if (PlatformInfos.isMobile)
|
|
|
|
|
ListTile(
|
|
|
|
|
title: Text(L10n.of(context)!.callingPermissions),
|
|
|
|
|
onTap: () =>
|
|
|
|
|