Removed "Android Device Names" dependency -> aab size shrunk by about 200kb

This commit is contained in:
Deniz Düzgören
2019-09-11 21:16:50 +02:00
parent 0398b846e5
commit 81b4c04159
3 changed files with 2 additions and 5 deletions
-1
View File
@@ -36,7 +36,6 @@ dependencies {
implementation 'com.google.firebase:firebase-messaging:20.0.0'
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
implementation 'com.jaredrummler:android-device-names:1.1.8'
implementation 'org.jsoup:jsoup:1.11.3'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
@@ -36,8 +36,6 @@ import com.google.android.material.bottomnavigation.BottomNavigationView
import com.google.android.material.button.MaterialButton
import com.google.android.material.textfield.TextInputEditText
import com.google.firebase.messaging.FirebaseMessaging
import com.jaredrummler.android.device.DeviceName
import kotlinx.android.synthetic.main.content_settings.*
import kotlin.collections.ArrayList
internal class SettingsFragment : Fragment(R.layout.content_settings), View.OnClickListener,
@@ -215,8 +213,7 @@ internal class SettingsFragment : Fragment(R.layout.content_settings), View.OnCl
}
}
R.id.btnLicences -> {
createDialog("Licences", "Libraries:\nAndroid Device Names © 2015 Jared Rummler, licensed under the Apache Licence, Version 2.0" +
"\n • jsoup HTML parser © 2009-2018 Jonathan Hedley, licensed under the open source MIT Licence" +
createDialog("Licences", "Libraries:\njsoup HTML parser © 2009-2018 Jonathan Hedley, licensed under the open source MIT Licence" +
"\n\nFont:\n • Manrope © 2018-2019 Michael Sharanda, licensed under the SIL Open Font Licence 1.1" +
"\n\nIcons:\n • bqlqn\n • fjstudio\n • Freepik\n • Smashicons\n • © 2013-2019 Freepik Company S.L., licensed under Creative Commons BY 3.0" +
"\n\nAdditional help:\n • Leon Becker\n • Alex Lick\n • Batuhan Özcan\n • Erich Kerkesner")
+1
View File
@@ -34,6 +34,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="16dp"
android:textColor="@color/colorAccent"
android:textSize="18sp"
android:fontFamily="@font/manrope_semibold"