You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IfGetSnackbarPresenter()IsNothingThenThrowNewInvalidOperationException("The SnackbarPresenter was never set")
23
+
IfGetSnackbarPresenter()IsNothingThenThrowNewInvalidOperationException(LanguageHelper.GetString("SnackBar_SnackbarPresenter"))'The SnackbarPresenter was never set
ShowCustom(button,"Insufficient permission to access this folder.",ControlAppearance.Danger,timeout:=TimeSpan.FromSeconds(60))
59
+
ShowCustom(button,LanguageHelper.GetString("SnackBar_RestartAdminTip"),ControlAppearance.Danger,timeout:=TimeSpan.FromSeconds(60))'"Insufficient permission to access this folder."
ShowCustom(textBlock, $"Update Available ▸ Version {newVersion}",If(isPreRelease,ControlAppearance.Info,ControlAppearance.Success),timeout:=TimeSpan.FromSeconds(10))
68
+
DimtitleAsString=String.Format(LanguageHelper.GetString("SnackBar_UpdateAvailable"),newVersion)'Update Available ▸ Version {newVersion}
@@ -86,37 +87,49 @@ Public Class CustomSnackBarService
86
87
EndSub
87
88
88
89
PublicSubShowFailedToSubmitToWiki()
89
-
Show("Failed to submit to wiki","Please check your internet connection and try again",Wpf.Ui.Controls.ControlAppearance.Danger,Nothing,TimeSpan.FromSeconds(5))
Show("Applied to all folders","Compression options have been applied to all folders",Wpf.Ui.Controls.ControlAppearance.Success,Nothing,TimeSpan.FromSeconds(5))
Show("Cannot remove folder","Please wait until the current operation is finished",Wpf.Ui.Controls.ControlAppearance.Caution,Nothing,TimeSpan.FromSeconds(5))
Dimconfirmed=Await_windowService.ShowMessageBox("CompactGUI", $"You currently have {_watcher.WatchedFolders.Count} folders being watched. Closing CompactGUI will stop them from being monitored.{Environment.NewLine}{Environment.NewLine}Are you sure you want to exit?")
0 commit comments