fix crash se reparto nullo

This commit is contained in:
zaccaria.majid
2022-11-25 17:18:06 +01:00
parent 520259590f
commit e6ea87f7f3
8 changed files with 29 additions and 8 deletions
+4 -1
View File
@@ -33,7 +33,10 @@ namespace MP.SPEC.Components
protected async Task getReparto()
{
var localReparto = await localStorage.GetItemAsync<string>("reparto");
selReparto = localReparto;
if (localReparto != null)
{
selReparto = localReparto;
}
}
protected bool hasOdl
{
+4 -1
View File
@@ -119,7 +119,10 @@ namespace MP.SPEC.Components
protected async Task getReparto()
{
var reparto = await localStorage.GetItemAsync<string>("reparto");
selReparto = reparto;
if (reparto != null)
{
selReparto = reparto;
}
}
#endregion Private Properties
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.SPEC</RootNamespace>
<Version>6.16.2211.2516</Version>
<Version>6.16.2211.2517</Version>
</PropertyGroup>
<ItemGroup>
+9 -1
View File
@@ -106,7 +106,15 @@ namespace MP.SPEC.Pages
protected async Task getReparto()
{
var reparto = await localStorage.GetItemAsync<string>("reparto");
selReparto = reparto;
if (reparto != null)
{
selReparto = reparto;
}
else
{
selReparto = "*";
}
}
protected async Task pgResetReq(bool doReset)
+8 -1
View File
@@ -99,7 +99,14 @@ namespace MP.SPEC.Pages
protected async Task getReparto()
{
var localReparto = await localStorage.GetItemAsync<string>("reparto");
reparto = localReparto;
if(reparto != null)
{
reparto = localReparto;
}
else
{
reparto = "*";
}
}
protected async Task pgResetReq(bool doReset)
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2211.2516</h4>
<h4>Versione: 6.16.2211.2517</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2211.2516
6.16.2211.2517
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2211.2516</version>
<version>6.16.2211.2517</version>
<url>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>