Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

use in-button spinner instead of activity indicator

+4 -3
+4 -3
src/screens/Login/LoginForm.tsx
··· 16 16 import {useSessionApi} from '#/state/session' 17 17 import {cleanError} from 'lib/strings/errors' 18 18 import {logger} from '#/logger' 19 - import {Button, ButtonText} from '#/components/Button' 19 + import {Button, ButtonIcon, ButtonText} from '#/components/Button' 20 20 import {atoms as a, useTheme} from '#/alf' 21 21 import {Text} from '#/components/Typography' 22 22 import * as TextField from '#/components/forms/TextField' ··· 25 25 import {HostingProvider} from '#/components/forms/HostingProvider' 26 26 import {FormContainer} from './FormContainer' 27 27 import {FormError} from '#/components/forms/FormError' 28 + import {Loader} from '#/components/Loader' 28 29 29 30 type ServiceDescription = ComAtprotoServerDescribeServer.OutputSchema 30 31 ··· 64 65 }, [track]) 65 66 66 67 const onPressNext = async () => { 68 + if (isProcessing) return 67 69 Keyboard.dismiss() 68 70 setError('') 69 71 setIsProcessing(true) ··· 237 239 <Trans>Connecting...</Trans> 238 240 </Text> 239 241 </> 240 - ) : isProcessing ? ( 241 - <ActivityIndicator /> 242 242 ) : isReady ? ( 243 243 <Button 244 244 label={_(msg`Next`)} ··· 250 250 <ButtonText> 251 251 <Trans>Next</Trans> 252 252 </ButtonText> 253 + {isProcessing && <ButtonIcon icon={Loader} />} 253 254 </Button> 254 255 ) : undefined} 255 256 </View>