Ensure chats pane in settings is visible

This commit is contained in:
trevor-signal 2024-03-01 16:52:17 -05:00 committed by GitHub
parent b379ec115d
commit 38adef4233
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 33 additions and 11 deletions

View file

@ -208,7 +208,7 @@ export function _bidiIsolate(text: string): string {
* ```
*/
export function bidiIsolate(text: string): string {
if (process.env.IS_TESTS != null) {
if (window.SignalContext.isTestOrMockEnvironment()) {
// Turn this off in tests to make it easier to compare strings
return text;
}