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);
|
Android.Support.V7.App.AlertDialog.Builder builder = new Android.Support.V7.App.AlertDialog.Builder(this);
|
||||||
builder.SetMessage(Resources.GetText(Resource.String.connectionFailMessage))
|
builder.SetMessage(Resources.GetText(Resource.String.connectionFailMessage))
|
||||||
.SetTitle(e.Message)
|
.SetTitle(e.Message)
|
||||||
.SetPositiveButton("ОК", (s, e) => base.OnBackPressed())
|
.SetPositiveButton("ОК", (s, arg) => base.OnBackPressed())
|
||||||
.SetNegativeButton(Resources.GetText(Resource.String.repeat), (s, e) => Export());
|
.SetNegativeButton(Resources.GetText(Resource.String.repeat), (s, arg) => Export());
|
||||||
|
|
||||||
Android.Support.V7.App.AlertDialog dialog = builder.Create();
|
Android.Support.V7.App.AlertDialog dialog = builder.Create();
|
||||||
dialog.Show();
|
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);
|
Android.Support.V7.App.AlertDialog.Builder builder = new Android.Support.V7.App.AlertDialog.Builder(this);
|
||||||
builder.SetMessage(e.Message)
|
builder.SetMessage(e.Message)
|
||||||
.SetTitle(e.GetType().ToString())
|
.SetTitle(e.GetType().ToString())
|
||||||
.SetPositiveButton("ОК", (s, e) => base.OnBackPressed());
|
.SetPositiveButton("ОК", (s, arg) => base.OnBackPressed());
|
||||||
|
|
||||||
Android.Support.V7.App.AlertDialog dialog = builder.Create();
|
Android.Support.V7.App.AlertDialog dialog = builder.Create();
|
||||||
dialog.Show();
|
dialog.Show();
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
|
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
|
||||||
<AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
|
<AndroidEnableSGenConcurrent>true</AndroidEnableSGenConcurrent>
|
||||||
<AndroidUseAapt2>true</AndroidUseAapt2>
|
<AndroidUseAapt2>true</AndroidUseAapt2>
|
||||||
|
<LangVersion>8.0</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>True</DebugSymbols>
|
<DebugSymbols>True</DebugSymbols>
|
||||||
|
|||||||
Reference in New Issue
Block a user