Merge branch 'main' into candidate

This commit is contained in:
xmflsct 2023-02-03 01:00:20 +01:00
commit eb2c7ba170
3 changed files with 3 additions and 14 deletions

1
.gitignore vendored
View File

@ -32,6 +32,7 @@ DerivedData
*.xcuserstate *.xcuserstate
project.xcworkspace project.xcworkspace
ios/.xcode.env.local ios/.xcode.env.local
ios/containers
# Android/IntelliJ # Android/IntelliJ
# #

View File

@ -157,7 +157,7 @@ const Timeline: React.FC<Props> = ({
) { ) {
setAccountStorage([{ key: readMarker, value: firstItemId }]) setAccountStorage([{ key: readMarker, value: firstItemId }])
} else { } else {
// setAccountStorage([{ key: readMarker, value: '109519141378761752' }]) // setAccountStorage([{ key: readMarker, value: '105250709762254246' }])
} }
} }
} }

View File

@ -11,7 +11,6 @@ import * as Localization from 'expo-localization'
import React, { useEffect, useState } from 'react' import React, { useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next' import { useTranslation } from 'react-i18next'
import { Linking, Platform } from 'react-native' import { Linking, Platform } from 'react-native'
import FastImage from 'react-native-fast-image'
import { GLOBAL } from '../../../../App' import { GLOBAL } from '../../../../App'
import { mapFontsizeToName } from '../SettingsFontsize' import { mapFontsizeToName } from '../SettingsFontsize'
@ -171,7 +170,7 @@ const SettingsApp: React.FC = () => {
/> />
<MenuRow <MenuRow
title={t('screenTabs:me.settings.autoplayGifv.heading')} title={t('screenTabs:me.settings.autoplayGifv.heading')}
switchValue={autoplayGifv} switchValue={autoplayGifv || false}
switchOnValueChange={() => setAutoplayGifv(!autoplayGifv)} switchOnValueChange={() => setAutoplayGifv(!autoplayGifv)}
/> />
{showConnect ? ( {showConnect ? (
@ -184,17 +183,6 @@ const SettingsApp: React.FC = () => {
}} }}
/> />
) : null} ) : null}
<MenuRow
title='Clear cache'
iconBack='chevron-right'
loading={clearingCache}
onPress={() => {
setClearingCache(true)
FastImage.clearDiskCache()
.then(() => setClearingCache(false))
.catch(() => setClearingCache(false))
}}
/>
</MenuContainer> </MenuContainer>
) )
} }