Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
XanatosX committed Sep 6, 2024
1 parent f4313b4 commit 1b933ab
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System.Collections.Generic;
using System.IO;
using System.Text.Json;
using System.Threading.Tasks;
using XmlFormatter.Application;
using XmlFormatterOsIndependent.Model;
using XmlFormatterOsIndependent.Model.Messages;
Expand Down Expand Up @@ -41,7 +42,7 @@ public ApplicationSettingsBackupViewModel(
/// </summary>
/// <returns>Nothing</returns>
[RelayCommand]
public async void ExportSettings()
public async Task ExportSettings()
{
var file = await windowService.SaveFileAsync(new List<FilePickerFileType>{
new FilePickerFileType("Json") {
Expand Down Expand Up @@ -78,7 +79,7 @@ public async void ExportSettings()
/// </summary>
/// <returns>Nothing</returns>
[RelayCommand]
public async void ImportSettings()
public async Task ImportSettings()
{
var file = await windowService.OpenFileAsync(new List<FilePickerFileType>{
new("Json") { Patterns = new List<string>{ "json" } }
Expand Down

0 comments on commit 1b933ab

Please sign in to comment.