chore: Update dependencies
This commit is contained in:
parent
5be2c37c50
commit
46a9b6e00d
7 changed files with 19 additions and 75 deletions
|
|
@ -398,7 +398,7 @@ class ChatController extends State<Chat> {
|
|||
void voiceMessageAction() async {
|
||||
if (PlatformInfos.isAndroid) {
|
||||
final info = await DeviceInfoPlugin().androidInfo;
|
||||
if ((info.version.sdkInt ?? 16) < 19) {
|
||||
if (info.version.sdkInt < 19) {
|
||||
showOkAlertDialog(
|
||||
context: context,
|
||||
title: L10n.of(context)!.unsupportedAndroidVersion,
|
||||
|
|
@ -961,7 +961,7 @@ class ChatController extends State<Chat> {
|
|||
// VoIP required Android SDK 21
|
||||
if (PlatformInfos.isAndroid) {
|
||||
DeviceInfoPlugin().androidInfo.then((value) {
|
||||
if ((value.version.sdkInt ?? 16) < 21) {
|
||||
if (value.version.sdkInt < 21) {
|
||||
Navigator.pop(context);
|
||||
showOkAlertDialog(
|
||||
context: context,
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ class NewPrivateChatController extends State<NewPrivateChat> {
|
|||
void openScannerAction() async {
|
||||
if (PlatformInfos.isAndroid) {
|
||||
final info = await DeviceInfoPlugin().androidInfo;
|
||||
if ((info.version.sdkInt ?? 16) < 21) {
|
||||
if (info.version.sdkInt < 21) {
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue