/**
 * Created by Leon<silenceace@gmail.com> at 2023-04-03.
 */

import { SettingScreenProps as ScreenProps } from '@src/navigation/routes'
import { RootState } from '@src/store'
import { SylCommon, useTheme } from '@src/theme'
import React, { useEffect } from 'react'
import { ScrollView } from 'react-native'
import { connect } from 'react-redux'
import * as CompS from '../components'
import { useQuickAction } from '@src/helper'
const SettingAI = ({ route, navigation }: ScreenProps) => {
  const { featureTips } = useQuickAction()
  useEffect(() => {
    featureTips('rowClickShowDetail')
  }, [])
  return (
    <>
      <ScrollView style={SylCommon.Layout.fill}>
        <CompS.SettingAI />
      </ScrollView>
    </>
  )
}
const mapStateToProps = (state: RootState) => {
  return { setting: state.setting }
}
export default connect(mapStateToProps)(SettingAI)
