Jitsi 8.1.1 is now API 24+

This commit is contained in:
Benoit Marty 2023-05-02 14:29:10 +02:00 committed by Benoit Marty
parent 3a88f04f0d
commit e34958b814
1 changed files with 2 additions and 2 deletions

View File

@ -475,8 +475,8 @@ class DefaultNavigator @Inject constructor(
override fun openRoomWidget(context: Context, roomId: String, widget: Widget, options: Map<String, Any>?) {
if (widget.type is WidgetType.Jitsi) {
// Jitsi SDK is now for API 23+
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
// Jitsi SDK is now for API 24+
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) {
MaterialAlertDialogBuilder(context)
.setTitle(R.string.dialog_title_error)
.setMessage(R.string.error_jitsi_not_supported_on_old_device)