Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Info への変更
Browse files Browse the repository at this point in the history
  • Loading branch information
i-maruyama committed May 16, 2021
1 parent 9273bcb commit 80128f5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Covid19Radar/Covid19Radar/ViewModels/Settings/DebugPageViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public string DebugInfo
get { return _debugInfo; }
set { SetProperty(ref _debugInfo, value); }
}
public async void info(string ex = "")
public async void Info(string ex = "")
{
string os;
switch (Device.RuntimePlatform)
Expand Down Expand Up @@ -91,11 +91,11 @@ public DebugPageViewModel(INavigationService navigationService, IUserDataService
public override void Initialize(INavigationParameters parameters)
{
base.Initialize(parameters);
info("Initialize");
Info("Initialize");
}
public Command OnClickReload => new Command(async () =>
{
info("Reload");
Info("Reload");
});

public Command OnClickStartExposureNotification => new Command(async () =>
Expand All @@ -105,14 +105,14 @@ public override void Initialize(INavigationParameters parameters)
var str = $"StartExposureNotification: {result}";
UserDialogs.Instance.HideLoading();
await UserDialogs.Instance.AlertAsync(str, str, Resources.AppResources.ButtonOk);
info("StartExposureNotification");
Info("StartExposureNotification");
});
public Command OnClickFetchExposureKeyAsync => new Command(async () =>
{
var exLog = "FetchExposureKeyAsync";
try { await exposureNotificationService.FetchExposureKeyAsync(); }
catch (Exception ex) { exLog += $":Exception: {ex}"; }
info(exLog);
Info(exLog);
});

// see ../Settings/SettingsPageViewModel.cs
Expand All @@ -123,33 +123,33 @@ public override void Initialize(INavigationParameters parameters)
string str = "StopExposureNotification: " + result.ToString();
UserDialogs.Instance.HideLoading();
await UserDialogs.Instance.AlertAsync(str, str, Resources.AppResources.ButtonOk);
info("StopExposureNotification");
Info("StopExposureNotification");
});

public Command OnClickRemoveStartDate => new Command(async () =>
{
userDataService.RemoveStartDate();
info("RemoveStartDate");
Info("RemoveStartDate");
});
public Command OnClickRemoveExposureInformation => new Command(async () =>
{
exposureNotificationService.RemoveExposureInformation();
info("RemoveExposureInformation");
Info("RemoveExposureInformation");
});
public Command OnClickRemoveConfiguration => new Command(async () =>
{
exposureNotificationService.RemoveConfiguration();
info("RemoveConfiguration");
Info("RemoveConfiguration");
});
public Command OnClickRemoveLastProcessTekTimestamp => new Command(async () =>
{
exposureNotificationService.RemoveLastProcessTekTimestamp();
info("RemoveLastProcessTekTimestamp");
Info("RemoveLastProcessTekTimestamp");
});
public Command OnClickRemoveAllUpdateDate => new Command(async () =>
{
termsUpdateService.RemoveAllUpdateDate();
info("RemoveAllUpdateDate");
Info("RemoveAllUpdateDate");
});
public Command OnClickQuit => new Command(async () =>
{
Expand Down

0 comments on commit 80128f5

Please sign in to comment.