Browse Source

re-enable bugsnag auto notification (#1034)

pull/1035/head
Jason Dove 4 years ago committed by GitHub
parent
commit
e388f81e1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ErsatzTV/ErsatzTV.csproj
  2. 4
      ErsatzTV/Pages/MultiSelectBase.cs
  3. 4
      ErsatzTV/Startup.cs

2
ErsatzTV/ErsatzTV.csproj

@ -70,7 +70,7 @@ @@ -70,7 +70,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="MudBlazor" Version="6.0.17" />
<PackageReference Include="MudBlazor" Version="6.1.3-dev.1" />
<PackageReference Include="NaturalSort.Extension" Version="4.0.0" />
<PackageReference Include="PPioli.FluentValidation.Blazor" Version="11.1.0" />
<PackageReference Include="Refit.HttpClientFactory" Version="6.3.2" />

4
ErsatzTV/Pages/MultiSelectBase.cs

@ -112,7 +112,7 @@ public class MultiSelectBase<T> : FragmentNavigationBase @@ -112,7 +112,7 @@ public class MultiSelectBase<T> : FragmentNavigationBase
{ { "EntityType", count.ToString() }, { "EntityName", entityName } };
var options = new DialogOptions { CloseButton = true, MaxWidth = MaxWidth.ExtraSmall };
IDialogReference dialog = Dialog.Show<AddToCollectionDialog>("Add To Collection", parameters, options);
IDialogReference dialog = await Dialog.ShowAsync<AddToCollectionDialog>("Add To Collection", parameters, options);
DialogResult result = await dialog.Result;
if (!result.Cancelled && result.Data is MediaCollectionViewModel collection)
{
@ -150,7 +150,7 @@ public class MultiSelectBase<T> : FragmentNavigationBase @@ -150,7 +150,7 @@ public class MultiSelectBase<T> : FragmentNavigationBase
{ { "EntityType", SelectedItems.Count.ToString() }, { "EntityName", "selected items" } };
var options = new DialogOptions { CloseButton = true, MaxWidth = MaxWidth.ExtraSmall };
IDialogReference dialog = Dialog.Show<RemoveFromCollectionDialog>(
IDialogReference dialog = await Dialog.ShowAsync<RemoveFromCollectionDialog>(
"Remove From Collection",
parameters,
options);

4
ErsatzTV/Startup.cs

@ -107,11 +107,11 @@ public class Startup @@ -107,11 +107,11 @@ public class Startup
configuration.AppVersion = Assembly.GetEntryAssembly()
?.GetCustomAttribute<AssemblyInformationalVersionAttribute>()
?.InformationalVersion ?? "unknown";
configuration.AutoNotify = false;
configuration.AutoNotify = true;
configuration.NotifyReleaseStages = new[] { "public", "develop" };
#if DEBUG
#if DEBUG || DEBUG_NO_SYNC
configuration.ReleaseStage = "develop";
#else
// effectively "disable" by tweaking app config

Loading…
Cancel
Save