Skip to content
Snippets Groups Projects
Verified Commit 422ba9ba authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

feat: remove version info from about fragment

parent f8cc2e1a
No related branches found
No related tags found
No related merge requests found
......@@ -122,31 +122,26 @@ class AboutFragment : DaggerFragment() {
),
Library(
name = "Apache Commons Codec",
version = "1.13",
license = apache2,
url = "https://commons.apache.org/proper/commons-codec/"
),
Library(
name = "AutoService",
version = "1.0-rc6",
license = apache2,
url = "https://github.com/google/auto/tree/master/service"
),
Library(
name = "Better Link Movement Method",
version = "2.1.0",
license = apache2,
url = "https://github.com/Saketme/Better-Link-Movement-Method"
),
Library(
name = "Butter Knife",
version = "10.1.0",
license = apache2,
url = "http://jakewharton.github.io/butterknife/"
),
Library(
name = "Dagger 2",
version = "2.24",
license = apache2,
url = "https://google.github.io/dagger/"
),
......@@ -161,19 +156,16 @@ class AboutFragment : DaggerFragment() {
),
Library(
name = "FloatingActionButtonSpeedDial",
version = "3.0.0",
license = apache2,
url = "https://github.com/leinardi/FloatingActionButtonSpeedDial"
),
Library(
name = "Glide",
version = "4.9.0",
license = apache2,
url = "https://bumptech.github.io/glide/"
),
Library(
name = "Gson",
version = "2.8.5",
license = apache2,
url = "https://github.com/google/gson"
),
......@@ -188,31 +180,26 @@ class AboutFragment : DaggerFragment() {
),
Library(
name = "KotlinPoet",
version = "1.3.0",
license = apache2,
url = "https://github.com/square/kotlinpoet"
),
Library(
name = "JetBrains Java Annotations",
version = "17.0.0",
license = apache2,
url = "https://github.com/JetBrains/java-annotations"
),
Library(
name = "Kotlin Standard Library",
version = "1.6.10",
license = apache2,
url = "https://kotlinlang.org/"
),
Library(
name = "LeakCanary",
version = "1.6.3",
license = apache2,
url = "https://github.com/square/leakcanary"
),
Library(
name = "Material Components",
version = "1.1.0-alpha10",
license = apache2,
url = "https://github.com/material-components/material-components-android"
),
......@@ -227,13 +214,11 @@ class AboutFragment : DaggerFragment() {
),
Library(
name = "Material Design Icons: Google",
version = "3.0.1",
license = apache2,
url = "https://github.com/google/material-design-icons"
),
Library(
name = "Material Dialogs",
version = "0.9.6.0",
license = License(
shortName = "MIT",
fullName = "The MIT License (MIT)",
......@@ -243,13 +228,11 @@ class AboutFragment : DaggerFragment() {
),
Library(
name = "MaterialProgressBar",
version = "1.6.1",
license = apache2,
url = "https://github.com/DreaminginCodeZH/MaterialProgressBar"
),
Library(
name = "Quassel",
version = "0.13.1",
license = License(
shortName = "GPLv3",
fullName = "GNU GENERAL PUBLIC LICENSE",
......@@ -259,7 +242,6 @@ class AboutFragment : DaggerFragment() {
),
Library(
name = "Reactive Streams",
version = "1.0.2",
license = License(
shortName = "CC0",
fullName = "Creative Commons CC0 1.0 Universal",
......@@ -269,25 +251,21 @@ class AboutFragment : DaggerFragment() {
),
Library(
name = "ReactiveNetwork",
version = "3.0.6",
license = apache2,
url = "https://github.com/pwittchen/ReactiveNetwork"
),
Library(
name = "RecyclerView-FastScroll",
version = "2.0.",
license = apache2,
url = "https://github.com/timusus/RecyclerView-FastScroll"
),
Library(
name = "Retrofit",
version = "2.6.1",
license = apache2,
url = "https://square.github.io/retrofit/"
),
Library(
name = "RxJava",
version = "2.2.12",
license = apache2,
url = "https://github.com/ReactiveX/RxJava"
),
......@@ -302,7 +280,6 @@ class AboutFragment : DaggerFragment() {
),
Library(
name = "ThreeTen backport project",
version = "1.4.10",
license = License(
shortName = "BSD 3-clause",
text = R.raw.license_threetenbp
......
......@@ -21,7 +21,6 @@ package de.kuschku.quasseldroid.ui.clientsettings.about
data class Library(
val name: String,
val version: String? = null,
val license: License,
val url: String? = null
)
......@@ -56,8 +56,6 @@ class LibraryAdapter(private val libraries: List<Library>) :
fun bind(item: Library) {
this.item = item
binding.name.text = item.name
binding.version.text = item.version
binding.version.visibleIf(!item.version.isNullOrBlank())
binding.license.text = item.license.shortName
}
}
......
......@@ -45,15 +45,6 @@
android:textSize="16sp"
tools:text="@sample/libraries.json/data/name" />
<TextView
android:id="@+id/version"
style="@style/Widget.RtlConformTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?colorTextSecondary"
tools:text="@sample/libraries.json/data/version" />
<TextView
android:id="@+id/license"
style="@style/Widget.RtlConformTextView"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment