Wrap empty navigate action

This commit is contained in:
Yegor Vialov
2019-11-29 12:45:59 +00:00
parent 44acabadfe
commit 7d30c2f9d5
2 changed files with 17 additions and 15 deletions

View File

@ -58,7 +58,7 @@ class EntityWrapper {
}
case EntityUIAction.navigate: {
if (uiAction.tapService.startsWith("/")) {
if (uiAction.tapService != null && uiAction.tapService.startsWith("/")) {
//TODO handle local urls
Logger.w("Local urls is not supported yet");
} else {
@ -98,7 +98,7 @@ class EntityWrapper {
}
case EntityUIAction.navigate: {
if (uiAction.holdService.startsWith("/")) {
if (uiAction.holdService != null && uiAction.holdService.startsWith("/")) {
//TODO handle local urls
Logger.w("Local urls is not supported yet");
} else {