Jitsi 8.1.1 is now API 24+
This commit is contained in:
parent
3a88f04f0d
commit
e34958b814
|
@ -475,8 +475,8 @@ class DefaultNavigator @Inject constructor(
|
||||||
|
|
||||||
override fun openRoomWidget(context: Context, roomId: String, widget: Widget, options: Map<String, Any>?) {
|
override fun openRoomWidget(context: Context, roomId: String, widget: Widget, options: Map<String, Any>?) {
|
||||||
if (widget.type is WidgetType.Jitsi) {
|
if (widget.type is WidgetType.Jitsi) {
|
||||||
// Jitsi SDK is now for API 23+
|
// Jitsi SDK is now for API 24+
|
||||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) {
|
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) {
|
||||||
MaterialAlertDialogBuilder(context)
|
MaterialAlertDialogBuilder(context)
|
||||||
.setTitle(R.string.dialog_title_error)
|
.setTitle(R.string.dialog_title_error)
|
||||||
.setMessage(R.string.error_jitsi_not_supported_on_old_device)
|
.setMessage(R.string.error_jitsi_not_supported_on_old_device)
|
||||||
|
|
Loading…
Reference in New Issue