Skip to content

Commit

Permalink
Removed the totals and percentages from being displayed. (#458)
Browse files Browse the repository at this point in the history
Fixed 2 memory leaks around ballot uploading.
Updated version to 13.
  • Loading branch information
SteveMaier-IRT committed Sep 1, 2023
1 parent c3a0214 commit f0f2d59
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
Grid.Column="2"
FontAttributes="Bold"
Text="{helper:Translate VotesText}" />
<Label
<!--<Label
Grid.Column="3"
FontAttributes="Bold"
Text="{helper:Translate PercentText}" />
Text="{helper:Translate PercentText}" />-->
</Grid>
<Line
BackgroundColor="{StaticResource Gray950}"
Expand Down Expand Up @@ -70,11 +70,11 @@
Grid.Column="2"
Margin="10"
Text="{Binding Votes}" />
<Label
<!--<Label
Grid.Column="3"
Margin="10"
Text="{Binding Percent, StringFormat='{0:F1}'}"
VerticalOptions="End" />
VerticalOptions="End" />-->
</Grid>
</DataTemplate>
</CollectionView.ItemTemplate>
Expand All @@ -83,7 +83,7 @@
Grid.Row="3"
BackgroundColor="{StaticResource Gray400}"
ColumnDefinitions="4*, 2*, *, *">
<Label
<!--<Label
Grid.Column="0"
Margin="10"
FontAttributes="Bold,Italic"
Expand All @@ -97,7 +97,7 @@
Grid.Column="3"
Margin="10"
FontAttributes="Bold"
Text="100.0%" />
Text="100.0%" />-->
</Grid>
</Grid>
</ContentView>
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<!-- Versions -->
<ApplicationDisplayVersion>1.91</ApplicationDisplayVersion>
<ApplicationVersion>12</ApplicationVersion>
<ApplicationVersion>13</ApplicationVersion>

<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'maccatalyst'">15.3</SupportedOSPlatformVersion>
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">10.0.19041.0</SupportedOSPlatformVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap rescap">

<Identity Name="ElectionGuard.Admin" Publisher="CN=Microsoft" Version="1.91.12.0" />
<Identity Name="ElectionGuard.Admin" Publisher="CN=Microsoft" Version="1.91.13.0" />

<mp:PhoneIdentity PhoneProductId="F7E69798-9268-43DC-A51E-3A95FA4992AD" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ private async Task Upload()
var endDate = ulong.MinValue;
object tallyLock = new();

var mediator = new TallyMediator();
var ciphertextTally = mediator.CreateTally(Guid.NewGuid().ToString(),
using var mediator = new TallyMediator();
using var ciphertextTally = mediator.CreateTally(Guid.NewGuid().ToString(),
"subtally",
_context!,
_internalManifest!);
Expand Down

0 comments on commit f0f2d59

Please sign in to comment.