Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add link to BeUnstoppable mini-app #7680

Merged
merged 1 commit into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading