File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import (
2323func (account * Account ) SafelloBuySupported () bool {
2424 switch account .coin .Net ().Net {
2525 case chaincfg .MainNetParams .Net , chaincfg .TestNet3Params .Net :
26- return true
26+ return false // Safello suspended services, maybe temporarily, so we keep this around for a bit.
2727 }
2828 return false
2929}
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ class RequestInterceptor : public QWebEngineUrlRequestInterceptor {
5353 if (info.requestUrl ().scheme () == " qrc" || info.requestUrl ().scheme () == " blob" ) {
5454 return ;
5555 }
56+ #if 0 // Safello suspended services, maybe temporarily, so we keep this around for a bit.
5657 auto currentUrl = mainPage->requestedUrl().toString();
5758 bool onBuyPage = currentUrl.contains(QRegularExpression("^qrc:/account/[^/]+?/buy$"));
5859 // We treat the buy page specially, as we need to allow Safello to load in the iframe, as
@@ -66,7 +67,7 @@ class RequestInterceptor : public QWebEngineUrlRequestInterceptor {
6667 }
6768 return;
6869 }
69-
70+ # endif
7071 std::cerr << " Blocked: " << info.requestUrl ().toString ().toStdString () << std::endl;
7172 info.block (true );
7273 };
Original file line number Diff line number Diff line change @@ -209,6 +209,7 @@ class Settings extends Component<Props, State> {
209209 this . setState ( { activeProxyDialog : false } ) ;
210210 }
211211
212+ /*
212213 private setServicesConfig = servicesConfig => {
213214 setConfig({
214215 backend: { services: servicesConfig },
@@ -227,6 +228,7 @@ class Settings extends Component<Props, State> {
227228 services.safello = target.checked;
228229 this.setServicesConfig(services);
229230 }
231+ */
230232
231233 private handleRestartDismissMessage = ( ) => {
232234 this . setState ( { restart : false } ) ;
@@ -408,6 +410,7 @@ class Settings extends Component<Props, State> {
408410 </ div >
409411 </ div >
410412
413+ { /* Safello suspended services, maybe temporarily, so we keep this around for a bit.
411414 <div className="column column-1-3">
412415 <div class="subHeaderContainer">
413416 <div class="subHeader">
@@ -430,6 +433,7 @@ class Settings extends Component<Props, State> {
430433
431434 </div>
432435 </div>
436+ */ }
433437 </ div >
434438 {
435439 restart && (
You can’t perform that action at this time.
0 commit comments