mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
chore: include information about channels in shutdown message (#1103)
This commit is contained in:
parent
36168c0e7b
commit
efef57238a
3 changed files with 3 additions and 1 deletions
|
|
@ -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.")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue