chore: remove dependency overrides
- Flutter foreground task plugin was merged - Connectivity Plus plugin was merged Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
parent
4fd9a3ff82
commit
2926f44d66
3 changed files with 19 additions and 35 deletions
|
|
@ -87,6 +87,7 @@ class CallKeepManager {
|
|||
VoipPlugin? _voipPlugin;
|
||||
|
||||
String get appName => 'FluffyChat';
|
||||
|
||||
Future<bool> get hasPhoneAccountEnabled async =>
|
||||
await _callKeep.hasPhoneAccount();
|
||||
|
||||
|
|
@ -106,6 +107,7 @@ class CallKeepManager {
|
|||
'additionalPermissions': [''],
|
||||
};
|
||||
bool setupDone = false;
|
||||
|
||||
Future<void> showCallkitIncoming(CallSession call) async {
|
||||
if (!setupDone) {
|
||||
await _callKeep.setup(
|
||||
|
|
@ -246,8 +248,8 @@ class CallKeepManager {
|
|||
),
|
||||
const Divider(),
|
||||
ListTile(
|
||||
onTap: () =>
|
||||
FlutterForegroundTask.openSystemAlertWindowSettings(true),
|
||||
onTap: () => FlutterForegroundTask.openSystemAlertWindowSettings(
|
||||
forceOpen: true),
|
||||
title: Text(L10n.of(context)!.appearOnTop),
|
||||
subtitle: Text(L10n.of(context)!.appearOnTopDetails),
|
||||
trailing: const Icon(Icons.file_upload_rounded),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue