Move muted threads to new persistence + context (#1838)

This commit is contained in:
Paul Frazee
2023-11-08 09:08:42 -08:00
committed by GitHub
parent 4afed4be28
commit 74f8390f1d
12 changed files with 95 additions and 94 deletions
+4 -1
View File
@@ -22,6 +22,7 @@ import * as Toast from 'view/com/util/Toast'
import {queryClient} from 'lib/react-query'
import {TestCtrls} from 'view/com/testing/TestCtrls'
import {Provider as ShellStateProvider} from 'state/shell'
import {Provider as MutedThreadsProvider} from 'state/muted-threads'
SplashScreen.preventAutoHideAsync()
@@ -78,7 +79,9 @@ function App() {
return (
<ShellStateProvider>
<InnerApp />
<MutedThreadsProvider>
<InnerApp />
</MutedThreadsProvider>
</ShellStateProvider>
)
}