This commit is contained in:
Fredrik Burmester
2024-10-07 10:00:16 +02:00
parent 4b60de4d43
commit a5b4f6cc78
9 changed files with 105 additions and 138 deletions

View File

@@ -103,7 +103,7 @@ export const useWebSocket = ({
console.log("Command ~ DisplayMessage");
const title = json?.Data?.Arguments?.Header;
const body = json?.Data?.Arguments?.Text;
Alert.alert(title, body);
Alert.alert("Message from server: " + title, body);
}
};
}, [ws, stopPlayback, playVideo, pauseVideo, isPlaying, router]);