Skip to content

Commit

Permalink
Add link to BeUnstoppable mini-app
Browse files Browse the repository at this point in the history
  • Loading branch information
abdrasulov committed Sep 27, 2024
1 parent f029407 commit 31dd0b5
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,21 @@ private fun SettingSections(

VSpacer(32.dp)

CellUniversalLawrenceSection(
listOf {
HsSettingCell(
R.string.Settings_GetYourTokens,
R.drawable.ic_uwt2_24,
ComposeAppTheme.colors.jacob,
onClick = {
LinkHelper.openLinkInAppBrowser(context, "https://t.me/BeUnstoppable_bot")
}
)
}
)

VSpacer(32.dp)

CellUniversalLawrenceSection(
listOf({
HsSettingCell(
Expand Down
10 changes: 10 additions & 0 deletions app/src/main/res/drawable/ic_uwt2_24.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M11,2.049C11.329,2.017 11.663,2 12,2C12.337,2 12.671,2.017 13,2.049V11.5C13,12.052 12.552,12.5 12,12.5C11.448,12.5 11,12.052 11,11.5V2.049ZM8,2.832C4.468,4.375 2,7.899 2,12C2,17.523 6.477,22 12,22C17.523,22 22,17.523 22,12C22,7.899 19.532,4.375 16,2.832V11.5C16,13.709 14.209,15.5 12,15.5C9.791,15.5 8,13.709 8,11.5V2.832Z"
android:fillColor="#808085"
android:fillType="evenOdd"/>
</vector>
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -994,6 +994,7 @@

<string name="Settings_Donate_Info">Together, with your support, we can make this app even better!</string>
<string name="Settings_Donate">Donate</string>
<string name="Settings_GetYourTokens">Get your tokens</string>
<string name="Settings_DonateToken">Donate %s</string>
<string name="Settings_DonateWith">Donate with</string>
<string name="Settings_Donate_GetAddress">Donation Address</string>
Expand Down

0 comments on commit 31dd0b5

Please sign in to comment.