Skip to content

Commit

Permalink
rename ShowBalloonTip
Browse files Browse the repository at this point in the history
  • Loading branch information
bNobo committed May 8, 2020
1 parent 0a8ea14 commit 9c4d604
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion NeedABreak/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ private static async Task TimesAlmostUp()
await Current.Dispatcher.InvokeAsync(() =>
{
var mainWindow = GetMainWindow();
mainWindow.ShowBalloonTip();
mainWindow.ShowCustomBalloon();
});
}

Expand Down
2 changes: 1 addition & 1 deletion NeedABreak/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public async Task StartLockWorkStationAsync()
_imminentLocking = false;
}

public void ShowBalloonTip()
public void ShowCustomBalloon()
{
var template = (DataTemplate)FindResource("BalloonTipTemplate");
var balloon = (FrameworkElement)template.LoadContent();
Expand Down

0 comments on commit 9c4d604

Please sign in to comment.