chore: include information about channels in shutdown message (#1103)

This commit is contained in:
Roland 2025-03-05 11:24:10 +07:00 committed by GitHub
parent 36168c0e7b
commit efef57238a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View file

@ -61,4 +61,5 @@ func main() {
logger.Logger.Info("Echo server exited")
svc.Shutdown()
logger.Logger.Info("Service exited")
logger.Logger.Info("Alby Hub needs to stay online to send and receive transactions. Channels may be closed if your hub stays offline for an extended period of time.")
}

View file

@ -42,4 +42,5 @@ func main() {
cancel()
svc.Shutdown()
logger.Logger.Info("Service exited")
logger.Logger.Info("Alby Hub needs to stay online to send and receive transactions. Channels may be closed if your hub stays offline for an extended period of time.")
}

View file

@ -44,7 +44,7 @@ func (app *WailsApp) onBeforeClose(ctx context.Context) bool {
response, err := runtime.MessageDialog(ctx, runtime.MessageDialogOptions{
Type: runtime.QuestionDialog,
Title: "Confirm Exit",
Message: "Are you sure you want to shut down Alby Hub? Alby Hub needs to stay online to send and receive transactions.",
Message: "Are you sure you want to shut down Alby Hub? Alby Hub needs to stay online to send and receive transactions. Channels may be closed if your hub stays offline for an extended period of time.",
Buttons: []string{"Yes", "No"},
DefaultButton: "No",
})