updating commons, kotlin and gradle

This commit is contained in:
tibbi 2020-10-28 23:28:07 +01:00
parent 2fffdab8a0
commit bb5d918cf5
5 changed files with 5 additions and 6 deletions

View file

@ -58,7 +58,7 @@ android {
}
dependencies {
implementation 'com.simplemobiletools:commons:5.30.22'
implementation 'com.simplemobiletools:commons:5.31.13'
implementation 'com.github.Stericson:RootTools:df729dcb13'
implementation 'com.github.Stericson:RootShell:1.6'
implementation 'com.alexvasilkov:gesture-views:2.5.2'

View file

@ -303,7 +303,8 @@ class MainActivity : SimpleActivity() {
FAQItem(R.string.faq_3_title_commons, R.string.faq_3_text_commons),
FAQItem(R.string.faq_2_title_commons, R.string.faq_2_text_commons),
FAQItem(R.string.faq_6_title_commons, R.string.faq_6_text_commons),
FAQItem(R.string.faq_7_title_commons, R.string.faq_7_text_commons)
FAQItem(R.string.faq_7_title_commons, R.string.faq_7_text_commons),
FAQItem(R.string.faq_9_title_commons, R.string.faq_9_text_commons)
)
startAboutActivity(R.string.app_name, licenses, BuildConfig.VERSION_NAME, faqItems, true)

View file

@ -67,8 +67,6 @@ class ItemsAdapter(activity: SimpleActivity, var listItems: MutableList<ListItem
private var dateFormat = ""
private var timeFormat = ""
var adjustedPrimaryColor = activity.getAdjustedPrimaryColor()
init {
setupDragListener(true)
initDrawables()

View file

@ -112,7 +112,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
if (!isFirstResume) {
refreshItems()
}
getRecyclerAdapter()?.adjustedPrimaryColor = context!!.getAdjustedPrimaryColor()
isFirstResume = false
}

View file

@ -9,7 +9,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath 'com.android.tools.build:gradle:4.0.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong