mattermost-mobile/app/components/post_draft/send_button/index.tsx
2025-04-14 22:08:59 +05:30

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));