Skip to content

Commit a8117eb

Browse files
committed
Add round version of app icon
1 parent 8f543a4 commit a8117eb

File tree

4 files changed

+88
-5
lines changed

4 files changed

+88
-5
lines changed

src/assets/icons/icon_round.svg

Lines changed: 82 additions & 0 deletions
Loading

src/assets/icons/icons.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export { default as Search01Icon } from '@icons/search-01-stroke-rounded.svg'
2525
export { default as Setting07Icon } from '@icons/setting-07-stroke-rounded.svg'
2626
export { default as Settings01Icon } from '@icons/settings-01-stroke-rounded.svg'
2727
export {default as AppIcon } from '@assets/icons/icon.svg'
28+
export {default as AppIconRound } from '@assets/icons/icon_round.svg'
2829
export { default as SlowWindsIcon } from '@icons/slow-winds-stroke-rounded.svg'
2930

3031
export { default as TestTube01SolidIcon } from '@icons/test-tube-01-solid-rounded.svg'

src/screens/Settings/Extra/About.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import AppIconRound from '@assets/icons/icon_round.svg'
12
import { APP_VERSION } from '@utils/data'
23
import { SemiBold } from '@utils/fonts'
34
import React from 'react'
4-
import { Image, View } from 'react-native'
5-
import AppIcon from '@assets/icons/icon.svg'
5+
import { View } from 'react-native'
66

77
export default function About() {
88
return (
@@ -18,7 +18,7 @@ export function AppIconUI() {
1818
return (
1919
<View className='flex-row items-center justify-center'>
2020
<View className='my-5 bg-appIconBg p-1' style={{ borderRadius: 28 }}>
21-
<AppIcon width={100} height={100} />
21+
<AppIconRound width={100} height={100} />
2222
</View>
2323
</View>
2424
)

src/screens/Update/Components/UpdateAvailableUI.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import AppIcon from '@assets/icons/icon.svg'
1+
import { AppIconRound } from '@assets/icons/icons'
22
import { Medium, Regular, SemiBold } from '@utils/fonts'
33
import React, { useEffect } from 'react'
44
import { View } from 'react-native'
@@ -28,7 +28,7 @@ export default function UpdateAvailableUI({
2828
<View className='flex-1 rounded-3xl bg-appIconBg p-8 pb-12'>
2929
<View className='flex-row'>
3030
<Animated.View style={[animatedImageStyle]} className='mt-8'>
31-
<AppIcon width={80} height={80} />
31+
<AppIconRound width={80} height={80} />
3232
</Animated.View>
3333
</View>
3434
<SemiBold style={{ fontSize: 24 }} className='mt-5 text-white'>

0 commit comments

Comments
 (0)