Enable storage service for everyone
This commit is contained in:
parent
5fdfa1c632
commit
3eff5b73d2
4 changed files with 1 additions and 36 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue