Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabboxl committed May 26, 2024
1 parent f0a3ecb commit ef7a4b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ClassevivaPCTO/Dialogs/NoticeDialogContent.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using ClassevivaPCTO.Helpers;
using Microsoft.AppCenter.Channel;
using Microsoft.UI.Xaml.Controls;

namespace ClassevivaPCTO.Dialogs
Expand Down Expand Up @@ -200,9 +199,10 @@ await Task.Run(async () =>
//run on ui thread
await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, async () =>
{
var savePicker = new Windows.Storage.Pickers.FileSavePicker();
savePicker.SuggestedStartLocation =
Windows.Storage.Pickers.PickerLocationId.DocumentsLibrary;
var savePicker = new Windows.Storage.Pickers.FileSavePicker
{
SuggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.DocumentsLibrary
};

savePicker.FileTypeChoices.Add("Allegato", new List<string>() {"."});
savePicker.SuggestedFileName = currentAttachment.fileName;
Expand Down
4 changes: 2 additions & 2 deletions ClassevivaPCTO/Services/PaletteSelectorService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public static class PaletteSelectorService

//private IPalette _currentPalette;

public static IPalette PaletteClass { get; set; } = new Palettes.PaletteCvv();
public static PaletteType PaletteEnum { get; set; } = PaletteType.PALETTE_CVV;
public static IPalette PaletteClass { get; private set; } = new Palettes.PaletteCvv();
public static PaletteType PaletteEnum { get; private set; } = PaletteType.PALETTE_CVV;

public static async Task InitializeAsync()
{
Expand Down

0 comments on commit ef7a4b8

Please sign in to comment.