1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 23:16:09 +00:00

Correctif iOS

This commit is contained in:
Yan Maniez 2019-03-10 19:48:28 +01:00
parent 6451696b38
commit 8c7d68ca33
3 changed files with 7 additions and 4 deletions

View file

@ -1,11 +1,11 @@
#pragma warning disable 1591 #pragma warning disable 1591
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// Ce code a été généré par un outil. // This code was generated by a tool.
// Version du runtime :4.0.30319.42000 // Runtime Version:4.0.30319.42000
// //
// Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si // Changes to this file may cause incorrect behavior and will be lost if
// le code est régénéré. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------

View file

@ -5,6 +5,7 @@ using System.Linq;
using Foundation; using Foundation;
using UIKit; using UIKit;
[assembly: Preserve(typeof(System.DateTime), AllMembers = true)]
namespace AideDeJeu.iOS namespace AideDeJeu.iOS
{ {
// The UIApplicationDelegate for the application. This class is responsible for launching the // The UIApplicationDelegate for the application. This class is responsible for launching the

View file

@ -7,6 +7,7 @@ using Markdig.Syntax.Inlines;
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.Text; using System.Text;
@ -519,6 +520,7 @@ namespace AideDeJeu.ViewModels
} }
catch(Exception ex) catch(Exception ex)
{ {
Debug.WriteLine(ex.StackTrace);
await App.Current.MainPage.DisplayAlert("Lien invalide", ex.Message, "OK"); await App.Current.MainPage.DisplayAlert("Lien invalide", ex.Message, "OK");
return null; return null;
} }