@@ -226,7 +226,7 @@ void SendWidget::addEntry(){
226226 entry->setNumber (1 );
227227 }else if (entries.length () == MAX_SEND_POPUP_ENTRIES){
228228 // TODO: Snackbar notifying that it surpassed the max amount of entries
229- emit message (" " , tr (" Maximum amount of outputs reached" ),CClientUIInterface::MSG_INFORMATION );
229+ emit message (" " , tr (" Maximum amount of outputs reached" ), CClientUIInterface::MSG_INFORMATION_SNACK );
230230 return ;
231231 }
232232
@@ -272,15 +272,15 @@ void SendWidget::onSendClicked(){
272272 recipients.append (entry->getValue ());
273273 }else {
274274 // Invalid entry.. todo: notificate user about this.
275- emit message (" " , tr (" Invalid entry" ),CClientUIInterface::MSG_INFORMATION );
275+ emit message (" " , tr (" Invalid entry" ),CClientUIInterface::MSG_INFORMATION_SNACK );
276276 return ;
277277 }
278278
279279 }
280280
281281 if (recipients.isEmpty ()) {
282282 // todo: notificate user about this.
283- emit message (" " , tr (" No set recipients" ),CClientUIInterface::MSG_INFORMATION );
283+ emit message (" " , tr (" No set recipients" ),CClientUIInterface::MSG_INFORMATION_SNACK );
284284 return ;
285285 }
286286
@@ -294,7 +294,7 @@ void SendWidget::onSendClicked(){
294294 // Unlock wallet was cancelled
295295 // TODO: Check what is this --> fNewRecipientAllowed = true;
296296 // TODO: Notify the user..
297- emit message (" " , tr (" Cannot send, wallet locked" ),CClientUIInterface::MSG_INFORMATION );
297+ emit message (" " , tr (" Cannot send, wallet locked" ),CClientUIInterface::MSG_INFORMATION_SNACK );
298298 return ;
299299 }
300300
@@ -327,7 +327,7 @@ bool SendWidget::send(QList<SendCoinsRecipient> recipients){
327327 if (prepareStatus.status != WalletModel::OK) {
328328 // TODO: Check why this??
329329 // fNewRecipientAllowed = true;
330- emit message (" " , tr (" Prepare status failed.." ),CClientUIInterface::MSG_INFORMATION );
330+ emit message (" " , tr (" Prepare status failed.." ),CClientUIInterface::MSG_INFORMATION_SNACK );
331331 return false ;
332332 }
333333
@@ -352,7 +352,7 @@ bool SendWidget::send(QList<SendCoinsRecipient> recipients){
352352 // coinControlUpdateLabels();
353353 //
354354 clearAll ();
355- emit message (" " , tr (" Transaction sent" ),CClientUIInterface::MSG_INFORMATION );
355+ emit message (" " , tr (" Transaction sent" ),CClientUIInterface::MSG_INFORMATION_SNACK );
356356 return true ;
357357 }
358358
@@ -419,7 +419,7 @@ bool SendWidget::sendZpiv(QList<SendCoinsRecipient> recipients){
419419 outputs
420420 )
421421 ) {
422- emit message (" " , tr (" zPIV transaction sent!" ), CClientUIInterface::MSG_INFORMATION );
422+ emit message (" " , tr (" zPIV transaction sent!" ), CClientUIInterface::MSG_INFORMATION_SNACK );
423423 clearAll ();
424424 return true ;
425425 } else {
@@ -549,7 +549,7 @@ void SendWidget::onChangeAddressClicked(){
549549 if (dialog->getAddress (walletModel, &ret)) {
550550 coinControl->destChange = CBitcoinAddress (ret.toStdString ()).Get ();
551551 }else {
552- emit message (" " , tr (" Invalid change address" ), CClientUIInterface::MSG_INFORMATION );
552+ emit message (" " , tr (" Invalid change address" ), CClientUIInterface::MSG_INFORMATION_SNACK );
553553 }
554554 }
555555 }
0 commit comments