Skip to content

Commit db5c7a5

Browse files
Updated "About" page
- Removed Codeberg and Stripe links. - Added BuyMeACoffee link. - Updated author name. - Removed German, Finnish and Italian translations.
1 parent 4027462 commit db5c7a5

File tree

10 files changed

+44
-868
lines changed

10 files changed

+44
-868
lines changed

app/src/main/java/eu/ottop/yamlauncher/settings/AboutFragment.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ class AboutFragment : Fragment(), TitleProvider {
3131

3232
// Set up about page links
3333
stringUtils.setLink(requireActivity().findViewById(R.id.creditText), getString(R.string.my_website_link))
34-
stringUtils.setLink(requireActivity().findViewById(R.id.codebergLink), getString(R.string.codeberg_link))
3534
stringUtils.setLink(requireActivity().findViewById(R.id.githubLink), getString(R.string.github_link))
35+
stringUtils.setLink(requireActivity().findViewById(R.id.coffeeLink), getString(R.string.coffee_link))
36+
stringUtils.setLink(requireActivity().findViewById(R.id.liberaLink), getString(R.string.libera_link))
3637
stringUtils.setLink(requireActivity().findViewById(R.id.weatherLink), getString(R.string.weather_link))
37-
stringUtils.setLink(requireActivity().findViewById(R.id.donationTitle), getString(R.string.itsover))
3838

3939
requireActivity().findViewById<ImageView>(R.id.iconView).setOnClickListener {
4040
launcherApps.startAppDetailsActivity(

app/src/main/res/layout/fragment_about.xml

Lines changed: 34 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,25 +64,11 @@
6464
android:layout_weight="1.1"
6565
android:orientation="horizontal">
6666

67-
<TextView
68-
android:id="@+id/codebergLink"
69-
android:layout_width="match_parent"
70-
android:layout_height="match_parent"
71-
android:layout_marginTop="0dp"
72-
android:layout_weight="1"
73-
android:autoSizeMinTextSize="5sp"
74-
android:autoSizeTextType="uniform"
75-
android:linksClickable="true"
76-
android:text="@string/codeberg"
77-
android:textAlignment="center"
78-
android:textSize="20sp" />
79-
8067
<TextView
8168
android:id="@+id/githubLink"
8269
android:layout_width="match_parent"
8370
android:layout_height="match_parent"
8471
android:layout_marginTop="0dp"
85-
android:layout_weight="1"
8672
android:autoSizeMinTextSize="5sp"
8773
android:autoSizeTextType="uniform"
8874
android:linksClickable="true"
@@ -103,12 +89,11 @@
10389
android:layout_width="match_parent"
10490
android:layout_height="0dp"
10591
android:layout_marginTop="20dp"
106-
android:layout_weight="3"
92+
android:layout_weight="1.3"
10793
android:autoSizeMinTextSize="5sp"
10894
android:autoSizeTextType="uniform"
109-
android:text="@string/itsover"
95+
android:text="@string/donate"
11096
android:textAlignment="center"
111-
android:layout_marginHorizontal="20dp"
11297
android:textSize="24sp" />
11398

11499
<View
@@ -118,6 +103,38 @@
118103
android:layout_marginTop="10dp"
119104
android:background="?android:attr/listDivider" />
120105

106+
<LinearLayout
107+
android:layout_width="match_parent"
108+
android:layout_height="0dp"
109+
android:layout_marginTop="10dp"
110+
android:layout_weight="2"
111+
android:orientation="horizontal">
112+
113+
<TextView
114+
android:id="@+id/coffeeLink"
115+
android:layout_width="match_parent"
116+
android:layout_height="match_parent"
117+
android:layout_weight="1"
118+
android:autoSizeMinTextSize="5sp"
119+
android:autoSizeTextType="uniform"
120+
android:linksClickable="true"
121+
android:text="@string/coffee"
122+
android:textAlignment="center"
123+
android:textSize="20sp" />
124+
125+
<TextView
126+
android:id="@+id/liberaLink"
127+
android:layout_width="match_parent"
128+
android:layout_height="match_parent"
129+
android:layout_weight="1"
130+
android:autoSizeMinTextSize="5sp"
131+
android:autoSizeTextType="uniform"
132+
android:linksClickable="true"
133+
android:text="@string/liberapay"
134+
android:textAlignment="center"
135+
android:textSize="20sp" />
136+
</LinearLayout>
137+
121138
<Space
122139
android:layout_width="match_parent"
123140
android:layout_height="0dp"

app/src/main/res/values-de/arrays.xml

Lines changed: 0 additions & 84 deletions
This file was deleted.

app/src/main/res/values-de/strings.xml

Lines changed: 0 additions & 188 deletions
This file was deleted.

0 commit comments

Comments
 (0)