Enable storage service for everyone

This commit is contained in:
Evan Hahn 2021-10-05 12:04:28 -05:00 committed by GitHub
parent 5fdfa1c632
commit 3eff5b73d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 1 additions and 36 deletions

View file

@ -16,7 +16,6 @@ import {
} from '../../util/libphonenumberInstance';
import { assert } from '../../util/assert';
import { missingCaseError } from '../../util/missingCaseError';
import { isStorageWriteFeatureEnabled } from '../../storage/isFeatureEnabled';
export type LeftPaneComposePropsType = {
composeContacts: ReadonlyArray<ContactListItemPropsType>;
@ -229,7 +228,7 @@ export class LeftPaneComposeHelper extends LeftPaneHelper<LeftPaneComposePropsTy
if (this.phoneNumber) {
return TopButton.StartNewConversation;
}
if (this.searchTerm || !isStorageWriteFeatureEnabled()) {
if (this.searchTerm) {
return TopButton.None;
}
return TopButton.CreateNewGroup;