Bluesky app fork with some witchin' additions 💫

fix bluesky logo randomly appearing on splash screen

this also fixes some linting errors (for future reference, "npm run lint" shows all lint errors n warnings :P)

Tangled 063b0940 9c43f94f

Changed files
+6 -9
src
components
dialogs
screens
Login
+5 -5
src/Splash.web.tsx
··· 9 10 import {atoms as a} from '#/alf' 11 12 - const size = 100 13 - const ratio = 57 / 64 14 15 export function Splash() { 16 return ( 17 <View style={[a.fixed, a.inset_0, a.align_center, a.justify_center]}> 18 <Svg 19 fill="none" 20 - viewBox="0 0 64 57" 21 style={[a.relative, {width: size, height: size * ratio, top: -50}]}> 22 <Path 23 - fill="#006AFF" 24 - d="M13.873 3.805C21.21 9.332 29.103 20.537 32 26.55v15.882c0-.338-.13.044-.41.867-1.512 4.456-7.418 21.847-20.923 7.944-7.111-7.32-3.819-14.64 9.125-16.85-7.405 1.264-15.73-.825-18.014-9.015C1.12 23.022 0 8.51 0 6.55 0-3.268 8.579-.182 13.873 3.805ZM50.127 3.805C42.79 9.332 34.897 20.537 32 26.55v15.882c0-.338.13.044.41.867 1.512 4.456 7.418 21.847 20.923 7.944 7.111-7.32 3.819-14.64-9.125-16.85 7.405 1.264 15.73-.825 18.014-9.015C62.88 23.022 64 8.51 64 6.55c0-9.818-8.578-6.732-13.873-2.745Z" 25 /> 26 </Svg> 27 </View>
··· 9 10 import {atoms as a} from '#/alf' 11 12 + const size = 125 13 + const ratio = 512 / 512 14 15 export function Splash() { 16 return ( 17 <View style={[a.fixed, a.inset_0, a.align_center, a.justify_center]}> 18 <Svg 19 fill="none" 20 + viewBox="0 0 512 512" 21 style={[a.relative, {width: size, height: size * ratio, top: -50}]}> 22 <Path 23 + fill="#ED5345" 24 + d="M374.473 57.7173C367.666 50.7995 357.119 49.1209 348.441 53.1659C347.173 53.7567 342.223 56.0864 334.796 59.8613C326.32 64.1696 314.568 70.3869 301.394 78.0596C275.444 93.1728 242.399 114.83 218.408 139.477C185.983 172.786 158.719 225.503 140.029 267.661C130.506 289.144 122.878 308.661 117.629 322.81C116.301 326.389 115.124 329.63 114.104 332.478C87.1783 336.42 64.534 341.641 47.5078 348.101C37.6493 351.84 28.3222 356.491 21.0573 362.538C13.8818 368.511 6.00003 378.262 6.00003 391.822C6.00014 403.222 11.8738 411.777 17.4566 417.235C23.0009 422.655 29.9593 426.793 36.871 430.062C50.8097 436.653 69.5275 441.988 90.8362 446.249C133.828 454.846 192.21 460 256.001 460C319.79 460 378.172 454.846 421.164 446.249C442.472 441.988 461.19 436.653 475.129 430.062C482.041 426.793 488.999 422.655 494.543 417.235C500.039 411.862 505.817 403.489 505.996 392.353L506 391.822L505.995 391.188C505.754 377.959 498.012 368.417 490.945 362.534C483.679 356.485 474.35 351.835 464.491 348.095C446.749 341.366 422.906 335.982 394.476 331.987C393.6 330.57 392.633 328.995 391.595 327.273C386.477 318.777 379.633 306.842 372.737 293.115C358.503 264.781 345.757 232.098 344.756 206.636C343.87 184.121 351.638 154.087 360.819 127.789C365.27 115.041 369.795 103.877 373.207 95.9072C374.909 91.9309 376.325 88.7712 377.302 86.6328C377.79 85.5645 378.167 84.7524 378.416 84.2224C378.54 83.9579 378.632 83.7635 378.69 83.643C378.718 83.5829 378.739 83.5411 378.75 83.5181C378.753 83.5108 378.756 83.5049 378.757 83.5015C382.909 74.8634 381.196 64.5488 374.473 57.7173Z" 25 /> 26 </Svg> 27 </View>
-3
src/components/dialogs/ServerInput.tsx
··· 12 import {Admonition} from '#/components/Admonition' 13 import {Button, ButtonText} from '#/components/Button' 14 import * as Dialog from '#/components/Dialog' 15 - import * as SegmentedControl from '#/components/forms/SegmentedControl' 16 import * as TextField from '#/components/forms/TextField' 17 import {Globe_Stroke2_Corner0_Rounded as Globe} from '#/components/icons/Globe' 18 import {InlineLinkText} from '#/components/Link' 19 import {Text} from '#/components/Typography' 20 - 21 - type SegmentedControlOptions = typeof BSKY_SERVICE | 'custom' 22 23 export function ServerInputDialog({ 24 control,
··· 12 import {Admonition} from '#/components/Admonition' 13 import {Button, ButtonText} from '#/components/Button' 14 import * as Dialog from '#/components/Dialog' 15 import * as TextField from '#/components/forms/TextField' 16 import {Globe_Stroke2_Corner0_Rounded as Globe} from '#/components/icons/Globe' 17 import {InlineLinkText} from '#/components/Link' 18 import {Text} from '#/components/Typography' 19 20 export function ServerInputDialog({ 21 control,
+1 -1
src/screens/Login/index.tsx
··· 1 import {useCallback,useEffect, useMemo, useRef, useState} from 'react' 2 import {KeyboardAvoidingView} from 'react-native' 3 import Animated, {FadeIn, LayoutAnimationConfig} from 'react-native-reanimated' 4 import {msg} from '@lingui/macro' 5 import {useLingui} from '@lingui/react' 6 import debounce from 'lodash.debounce' ··· 20 import {atoms as a, native} from '#/alf' 21 import {ScreenTransition} from '#/components/ScreenTransition' 22 import {ChooseAccountForm} from './ChooseAccountForm' 23 - import { Did } from '@atproto/api' 24 25 enum Forms { 26 Login,
··· 1 import {useCallback,useEffect, useMemo, useRef, useState} from 'react' 2 import {KeyboardAvoidingView} from 'react-native' 3 import Animated, {FadeIn, LayoutAnimationConfig} from 'react-native-reanimated' 4 + import {type Did} from '@atproto/api' 5 import {msg} from '@lingui/macro' 6 import {useLingui} from '@lingui/react' 7 import debounce from 'lodash.debounce' ··· 21 import {atoms as a, native} from '#/alf' 22 import {ScreenTransition} from '#/components/ScreenTransition' 23 import {ChooseAccountForm} from './ChooseAccountForm' 24 25 enum Forms { 26 Login,