Skip to content

Commit 143497d

Browse files
committed
Remove Notification.Show
1 parent 8eb3b84 commit 143497d

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Flow.Launcher/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private void AutoStartup()
141141
// but if it fails (permissions, etc) then don't keep retrying
142142
// this also gives the user a visual indication in the Settings widget
143143
_settings.StartFlowLauncherOnSystemStartup = false;
144-
Notification.Show(API.GetTranslation("setAutoStartFailed"), e.Message);
144+
API.ShowMsg(API.GetTranslation("setAutoStartFailed"), e.Message);
145145
}
146146
}
147147
}

Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,11 @@ public bool StartFlowLauncherOnSystemStartup
4848
}
4949
catch (Exception e)
5050
{
51-
Notification.Show(App.API.GetTranslation("setAutoStartFailed"),
52-
e.Message);
51+
App.API.ShowMsg(App.API.GetTranslation("setAutoStartFailed"), e.Message);
5352
}
5453
}
5554
}
5655

57-
5856
public List<SearchWindowScreenData> SearchWindowScreens { get; } =
5957
DropdownDataGeneric<SearchWindowScreens>.GetValues<SearchWindowScreenData>("SearchWindowScreen");
6058

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ private async Task ReloadPluginDataAsync()
248248
Hide();
249249

250250
await PluginManager.ReloadDataAsync().ConfigureAwait(false);
251-
Notification.Show(App.API.GetTranslation("success"),
251+
App.API.ShowMsg(App.API.GetTranslation("success"),
252252
App.API.GetTranslation("completedSuccessfully"));
253253
}
254254

0 commit comments

Comments
 (0)