feat: CallPage UI, ReceivingCall UI, Default dialer app, can call/receive calls and hangup #45

Closed
stcb wants to merge 16 commits from addCallpageUI into dev
Showing only changes of commit b042a68a8e - Show all commits

View File

@ -419,7 +419,7 @@ class _HistoryPageState extends State<HistoryPage>
icon: const Icon(Icons.phone, color: Colors.green), icon: const Icon(Icons.phone, color: Colors.green),
onPressed: () async { onPressed: () async {
if (contact.phones.isNotEmpty) { if (contact.phones.isNotEmpty) {
_callService.makeGsmCall(contact.phones.first.number); _callService.makeGsmCall(context, phoneNumber: contact.phones.first.number);
} else { } else {
ScaffoldMessenger.of(context).showSnackBar( ScaffoldMessenger.of(context).showSnackBar(
const SnackBar( const SnackBar(