SFragment: open browser if attachment type is unknown
This commit is contained in:
parent
4eb56b713c
commit
db18d55619
|
@ -426,9 +426,7 @@ public abstract class SFragment extends BaseFragment implements Injectable {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case UNKNOWN: {
|
case UNKNOWN: {
|
||||||
/* Intentionally do nothing. This case is here is to handle when new attachment
|
onViewUrl(active.getUrl());
|
||||||
* types are added to the API before code is added here to handle them. So, the
|
|
||||||
* best fallback is to just show the preview and ignore requests to view them. */
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue