mattermost-mobile/app/components/post_draft/send_button/index.tsx
Mattermost Build bd89c7811c
Feature schedule posts (#8509) (#8775)
(cherry picked from commit f75c50ad2b)

Co-authored-by: Rajat Dabade <rajatdabade1997@gmail.com>
2025-04-15 08:04:39 +03:00

18 lines
622 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import {withDatabase, withObservables} from '@nozbe/watermelondb/react';
import {SendButton} from '@components/post_draft/send_button/send_button';
import {Tutorial} from '@constants';
import {observeTutorialWatched} from '@queries/app/global';
const enhanced = withObservables([], () => {
const scheduledPostFeatureTooltipWatched = observeTutorialWatched(Tutorial.SCHEDULED_POST);
return {
scheduledPostFeatureTooltipWatched,
};
});
export default withDatabase(enhanced(SendButton));