Skip to content

Commit

Permalink
about: discord instead of gitter (fixes #1816) (#1817)
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanGazali authored Feb 8, 2024
1 parent de75d5f commit d326307
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ class AboutFragment : Fragment() {
private fun setHyperlinks(view: View) {
val gitHub = view.findViewById<Button>(R.id.btn_github)
val images = view.findViewById<Button>(R.id.btn_image)
val gitter = view.findViewById<Button>(R.id.btn_gitter)
val discord = view.findViewById<Button>(R.id.btn_discord)
val contributors = view.findViewById<Button>(R.id.btn_contributors)

hyperLinks(gitHub, "https://github.com/treehouses/remote")
hyperLinks(images, "https://treehouses.io/#!pages/download.md")
hyperLinks(gitter, "https://gitter.im/open-learning-exchange/raspberrypi")
hyperLinks(discord, "https://discord.gg/mtgGD4EnYW")
hyperLinks(contributors, "https://github.com/treehouses/remote/graphs/contributors")

}
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/layout/fragment_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,19 @@
android:text="Treehouses Image"
android:textColor="@color/bg_white"
app:layout_constraintBottom_toTopOf="@+id/btn_version"
app:layout_constraintEnd_toStartOf="@+id/btn_gitter"
app:layout_constraintEnd_toStartOf="@+id/btn_discord"
app:layout_constraintStart_toEndOf="@+id/btn_github" />

<Button
android:id="@+id/btn_gitter"
android:id="@+id/btn_discord"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:layout_marginBottom="16dp"
android:background="@drawable/ic_about_btn"
android:gravity="center"
android:text="gitter"
android:text="discord"
android:textColor="@color/bg_white"
android:textSize="@dimen/text_size_small"
app:layout_constraintBottom_toTopOf="@+id/btn_version"
Expand Down

0 comments on commit d326307

Please sign in to comment.