mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Fixed crash
This commit is contained in:
parent
0b5a7be200
commit
6a63e4e79a
1 changed files with 3 additions and 0 deletions
|
@ -538,6 +538,9 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
|
|||
|
||||
@Override
|
||||
protected void onLoaded(Bundle args, UpdateInfo info) {
|
||||
if (info == null)
|
||||
return;
|
||||
|
||||
final Intent update = new Intent(Intent.ACTION_VIEW, Uri.parse(info.html_url));
|
||||
if (update.resolveActivity(getPackageManager()) != null)
|
||||
new AlertDialog.Builder(ActivityView.this)
|
||||
|
|
Loading…
Reference in a new issue