diff --git a/core/designsystem/src/main/res/drawable-night/ic_github.xml b/core/designsystem/src/main/res/drawable-night/ic_github.xml new file mode 100644 index 00000000..35666ada --- /dev/null +++ b/core/designsystem/src/main/res/drawable-night/ic_github.xml @@ -0,0 +1,10 @@ + + + diff --git a/core/designsystem/src/main/res/drawable-night/ic_twitter.xml b/core/designsystem/src/main/res/drawable-night/ic_twitter.xml new file mode 100644 index 00000000..42909a0e --- /dev/null +++ b/core/designsystem/src/main/res/drawable-night/ic_twitter.xml @@ -0,0 +1,9 @@ + + + diff --git a/core/designsystem/src/main/res/drawable/ic_discord.xml b/core/designsystem/src/main/res/drawable/ic_discord.xml index 74fb8d8a..66b87582 100644 --- a/core/designsystem/src/main/res/drawable/ic_discord.xml +++ b/core/designsystem/src/main/res/drawable/ic_discord.xml @@ -1,9 +1,9 @@ + android:width="127.14dp" + android:height="96.36dp" + android:viewportWidth="127.14" + android:viewportHeight="96.36"> + android:pathData="M107.7,8.07A105.15,105.15 0,0 0,81.47 0a72.06,72.06 0,0 0,-3.36 6.83A97.68,97.68 0,0 0,49 6.83,72.37 72.37,0 0,0 45.64,0 105.89,105.89 0,0 0,19.39 8.09C2.79,32.65 -1.71,56.6 0.54,80.21h0A105.73,105.73 0,0 0,32.71 96.36,77.7 77.7,0 0,0 39.6,85.25a68.42,68.42 0,0 1,-10.85 -5.18c0.91,-0.66 1.8,-1.34 2.66,-2a75.57,75.57 0,0 0,64.32 0c0.87,0.71 1.76,1.39 2.66,2a68.68,68.68 0,0 1,-10.87 5.19,77 77,0 0,0 6.89,11.1A105.25,105.25 0,0 0,126.6 80.22h0C129.24,52.84 122.09,29.11 107.7,8.07ZM42.45,65.69C36.18,65.69 31,60 31,53s5,-12.74 11.43,-12.74S54,46 53.89,53 48.84,65.69 42.45,65.69ZM84.69,65.69C78.41,65.69 73.25,60 73.25,53s5,-12.74 11.44,-12.74S96.23,46 96.12,53 91.08,65.69 84.69,65.69Z" + android:fillColor="#5865f2"/> diff --git a/core/designsystem/src/main/res/drawable/ic_github.xml b/core/designsystem/src/main/res/drawable/ic_github.xml index 91aa3314..34241eaa 100644 --- a/core/designsystem/src/main/res/drawable/ic_github.xml +++ b/core/designsystem/src/main/res/drawable/ic_github.xml @@ -1,10 +1,10 @@ + android:width="98dp" + android:height="96dp" + android:viewportWidth="98" + android:viewportHeight="96"> diff --git a/core/designsystem/src/main/res/drawable/ic_twitter.xml b/core/designsystem/src/main/res/drawable/ic_twitter.xml index fc86ad9f..dd988078 100644 --- a/core/designsystem/src/main/res/drawable/ic_twitter.xml +++ b/core/designsystem/src/main/res/drawable/ic_twitter.xml @@ -1,9 +1,4 @@ - - + + diff --git a/core/designsystem/src/main/res/drawable/ic_youtube.xml b/core/designsystem/src/main/res/drawable/ic_youtube.xml index 978f8171..a7e728d4 100644 --- a/core/designsystem/src/main/res/drawable/ic_youtube.xml +++ b/core/designsystem/src/main/res/drawable/ic_youtube.xml @@ -1,10 +1,12 @@ + android:width="176dp" + android:height="124dp" + android:viewportWidth="176" + android:viewportHeight="124"> + android:pathData="M172.3,19.4c-2,-7.6 -8,-13.6 -15.6,-15.7C143,0 88,0 88,0S33,0 19.2,3.7c-7.6,2 -13.5,8 -15.6,15.7C0,33.2 0,62 0,62s0,28.8 3.7,42.6c2,7.6 8,13.6 15.6,15.7C33,124 88,124 88,124s55,0 68.8,-3.7c7.6,-2 13.5,-8 15.6,-15.7C176,90.8 176,62 176,62S176,33.2 172.3,19.4z" + android:fillColor="#FF0000"/> + diff --git a/feature/home/src/main/java/com/twofasapp/feature/home/ui/settings/SettingsScreen.kt b/feature/home/src/main/java/com/twofasapp/feature/home/ui/settings/SettingsScreen.kt index 4f024fce..7b767747 100644 --- a/feature/home/src/main/java/com/twofasapp/feature/home/ui/settings/SettingsScreen.kt +++ b/feature/home/src/main/java/com/twofasapp/feature/home/ui/settings/SettingsScreen.kt @@ -130,38 +130,42 @@ private fun SettingsScreen( .padding(top = 24.dp, bottom = 24.dp), horizontalArrangement = Arrangement.spacedBy(14.dp, Alignment.CenterHorizontally), ) { + Image( + painter = painterResource(id = com.twofasapp.designsystem.R.drawable.ic_discord), + contentDescription = null, + modifier = Modifier + .size(52.dp) + .clip(CircleShape) + .clickable { uriHandler.openSafely(TwLocale.links.discord, activity) } + .padding(12.dp), + ) Image( painter = painterResource(id = com.twofasapp.designsystem.R.drawable.ic_youtube), contentDescription = null, modifier = Modifier - .size(48.dp) + .size(52.dp) .clip(CircleShape) .clickable { uriHandler.openSafely(TwLocale.links.youtube, activity) } + .padding(12.dp), ) Image( painter = painterResource(id = com.twofasapp.designsystem.R.drawable.ic_twitter), contentDescription = null, modifier = Modifier - .size(48.dp) + .size(52.dp) .clip(CircleShape) .clickable { uriHandler.openSafely(TwLocale.links.twitter, activity) } - ) - Image( - painter = painterResource(id = com.twofasapp.designsystem.R.drawable.ic_discord), - contentDescription = null, - modifier = Modifier - .size(48.dp) - .clip(CircleShape) - .clickable { uriHandler.openSafely(TwLocale.links.discord, activity) } + .padding(12.dp), ) Icon( painter = painterResource(id = com.twofasapp.designsystem.R.drawable.ic_github), contentDescription = null, tint = TwTheme.color.onSurfacePrimary, modifier = Modifier - .size(48.dp) + .size(52.dp) .clip(CircleShape) .clickable { uriHandler.openSafely(TwLocale.links.github, activity) } + .padding(12.dp), ) } }