mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-23 12:53:08 +00:00
Touch: fix library info
This commit is contained in:
parent
b7964f7cd5
commit
872aad1955
4 changed files with 9 additions and 12 deletions
|
@ -9,7 +9,6 @@ android {
|
|||
compileSdkVersion rootProject.ext.compileSdkVersion
|
||||
buildToolsVersion rootProject.ext.buildToolsVersion
|
||||
defaultConfig {
|
||||
applicationId "de.nicidienase.chaosflix"
|
||||
minSdkVersion rootProject.ext.minSDK
|
||||
targetSdkVersion rootProject.ext.targetSDK
|
||||
manifestPlaceholders = [label: appName]
|
||||
|
|
6
touch/proguard-rules.pro
vendored
6
touch/proguard-rules.pro
vendored
|
@ -66,4 +66,10 @@
|
|||
|
||||
-keepclassmembers public class com.cypressworks.kotlinreflectionproguard.** {
|
||||
public *;
|
||||
}
|
||||
|
||||
# aboutlibraries
|
||||
-keep class .R
|
||||
-keep class **.R$* {
|
||||
<fields>;
|
||||
}
|
|
@ -24,12 +24,7 @@ class AboutActivity : AppCompatActivity() {
|
|||
|
||||
val showLibs = Element()
|
||||
showLibs.title = resources.getString(R.string.showLibs)
|
||||
showLibs.onClickListener = object : View.OnClickListener {
|
||||
|
||||
override fun onClick(p0: View?) {
|
||||
LibsFragment().show(supportFragmentManager, null)
|
||||
}
|
||||
}
|
||||
showLibs.onClickListener = View.OnClickListener { LibsFragment().show(supportFragmentManager, null) }
|
||||
|
||||
val pInfo = getPackageManager().getPackageInfo(getPackageName(), 0);
|
||||
val version = pInfo.versionName;
|
||||
|
|
|
@ -19,11 +19,8 @@ class LibsFragment: DialogFragment(){
|
|||
}
|
||||
|
||||
private fun getLibsFragment(): LibsSupportFragment {
|
||||
val aboutLibs: LibsSupportFragment = LibsBuilder()
|
||||
// .withAboutIconShown(true)
|
||||
// .withAboutVersionShown(true)
|
||||
// .withAboutDescription(resources.getString(R.string.description))
|
||||
return LibsBuilder()
|
||||
.withFields(R.string::class.java.fields)
|
||||
.supportFragment()
|
||||
return aboutLibs
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue