mirror of
https://github.com/XFox111/GUTSchedule.git
synced 2026-04-22 06:58:01 +03:00
Fixed android build errors
This commit is contained in:
@@ -46,8 +46,8 @@ namespace GUTSchedule.Droid.Activities
|
||||
Android.Support.V7.App.AlertDialog.Builder builder = new Android.Support.V7.App.AlertDialog.Builder(this);
|
||||
builder.SetMessage(Resources.GetText(Resource.String.connectionFailMessage))
|
||||
.SetTitle(e.Message)
|
||||
.SetPositiveButton("ОК", (s, e) => base.OnBackPressed())
|
||||
.SetNegativeButton(Resources.GetText(Resource.String.repeat), (s, e) => Export());
|
||||
.SetPositiveButton("ОК", (s, arg) => base.OnBackPressed())
|
||||
.SetNegativeButton(Resources.GetText(Resource.String.repeat), (s, arg) => Export());
|
||||
|
||||
Android.Support.V7.App.AlertDialog dialog = builder.Create();
|
||||
dialog.Show();
|
||||
@@ -58,7 +58,7 @@ namespace GUTSchedule.Droid.Activities
|
||||
Android.Support.V7.App.AlertDialog.Builder builder = new Android.Support.V7.App.AlertDialog.Builder(this);
|
||||
builder.SetMessage(e.Message)
|
||||
.SetTitle(e.GetType().ToString())
|
||||
.SetPositiveButton("ОК", (s, e) => base.OnBackPressed());
|
||||
.SetPositiveButton("ОК", (s, arg) => base.OnBackPressed());
|
||||
|
||||
Android.Support.V7.App.AlertDialog dialog = builder.Create();
|
||||
dialog.Show();
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
|
||||
<AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
|
||||
<AndroidUseAapt2>true</AndroidUseAapt2>
|
||||
<LangVersion>8.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>True</DebugSymbols>
|
||||
|
||||
Reference in New Issue
Block a user