mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +00:00 
			
		
		
		
	MorphToken: add statustext for missing states
This commit is contained in:
		
							parent
							
								
									a0a307f3bd
								
							
						
					
					
						commit
						be61c803bf
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -164,6 +164,10 @@ void MorphTokenWidget::onApiResponse(const MorphTokenApi::MorphTokenResponse &re
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        } else if (state == "COMPLETE_WITHOUT_REFUND") {
 | 
					        } else if (state == "COMPLETE_WITHOUT_REFUND") {
 | 
				
			||||||
            statusText += "Deposit amount below network fee, too small to refund.";
 | 
					            statusText += "Deposit amount below network fee, too small to refund.";
 | 
				
			||||||
 | 
					        } else if (state == "PROCESSING_DELAY") {
 | 
				
			||||||
 | 
					            statusText += "Please enter in contact with support.\n\ncontact@morphtoken.com";
 | 
				
			||||||
 | 
					        } else if (state == "CANCELLED") {
 | 
				
			||||||
 | 
					            statusText += "The trade was cancelled. If this is unexpected, please contact support at contact@morphtoken.com";
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        ui->label_status->setText(statusText);
 | 
					        ui->label_status->setText(statusText);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue