From 5fcc90a55e761e84e5f5bc1395df6409042391e5 Mon Sep 17 00:00:00 2001 From: Halit Aksoy Date: Mon, 8 Apr 2024 16:53:45 +0300 Subject: [PATCH] [mobile] don't show Snacbar when onConnectionChange --- mobile/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/src/App.tsx b/mobile/src/App.tsx index 85c9f77..10d7b07 100644 --- a/mobile/src/App.tsx +++ b/mobile/src/App.tsx @@ -47,7 +47,7 @@ function App() { const onConnectionError = (event: Event) => console.error("(RTMT) Connection Error: ", event); const onConnectionChange = (_connectionState: ConnectionState) => { - Snackbar.show({text: getTextByConnectionState(context, _connectionState)}) + //Snackbar.show({text: getTextByConnectionState(context, _connectionState)}) return setConnetionState(_connectionState); };