2021-02-02 22:50:38 +01:00
|
|
|
import * as Updates from 'expo-updates'
|
2021-01-27 00:35:34 +01:00
|
|
|
import React from 'react'
|
2021-01-13 01:03:46 +01:00
|
|
|
import { ScrollView } from 'react-native-gesture-handler'
|
2021-01-27 00:35:34 +01:00
|
|
|
import SettingsAnalytics from './Settings/Analytics'
|
|
|
|
import SettingsApp from './Settings/App'
|
|
|
|
import SettingsDev from './Settings/Dev'
|
|
|
|
import SettingsTooot from './Settings/Tooot'
|
2021-01-07 19:13:09 +01:00
|
|
|
|
2021-05-09 21:59:03 +02:00
|
|
|
const TabMeSettings: React.FC = () => {
|
2020-11-29 13:11:23 +01:00
|
|
|
return (
|
2021-01-13 01:03:46 +01:00
|
|
|
<ScrollView>
|
2021-01-27 00:35:34 +01:00
|
|
|
<SettingsApp />
|
|
|
|
<SettingsTooot />
|
|
|
|
<SettingsAnalytics />
|
2021-01-18 00:23:40 +01:00
|
|
|
|
2021-01-31 03:09:35 +01:00
|
|
|
{__DEV__ ||
|
|
|
|
['development'].some(channel =>
|
2021-02-02 22:50:38 +01:00
|
|
|
Updates.releaseChannel.includes(channel)
|
2021-01-31 03:09:35 +01:00
|
|
|
) ? (
|
2021-01-27 00:35:34 +01:00
|
|
|
<SettingsDev />
|
2021-01-16 14:16:58 +01:00
|
|
|
) : null}
|
2021-01-13 01:03:46 +01:00
|
|
|
</ScrollView>
|
2020-11-29 13:11:23 +01:00
|
|
|
)
|
2020-11-28 17:07:30 +01:00
|
|
|
}
|
|
|
|
|
2021-05-09 21:59:03 +02:00
|
|
|
export default TabMeSettings
|