Skip to content

Commit bee2cfa

Browse files
committed
Added error message
1 parent e08dea9 commit bee2cfa

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Flow.Launcher/Languages/en.xaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@
367367

368368
<!-- Release Notes Window -->
369369
<system:String x:Key="seeMoreReleaseNotes">See more release notes on GitHub</system:String>
370+
<system:String x:Key="checkNetworkConnectionTitle">Failed to fetch release notes</system:String>
371+
<system:String x:Key="checkNetworkConnectionSubTitle">Please check your network connection or ensure GitHub is accessible</system:String>
370372

371373
<!-- FileManager Setting Dialog -->
372374
<system:String x:Key="fileManagerWindow">Select File Manager</system:String>

Flow.Launcher/ReleaseNotesWindow.xaml.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ private async void RefreshMarkdownViewer()
131131
{
132132
RefreshButton.Visibility = Visibility.Visible;
133133
MarkdownViewer.Visibility = Visibility.Collapsed;
134+
App.API.ShowMsgError(
135+
App.API.GetTranslation("checkNetworkConnectionTitle"),
136+
App.API.GetTranslation("checkNetworkConnectionSubTitle"));
134137
}
135138
else
136139
{

0 commit comments

Comments
 (0)