updating commons and kotlin

This commit is contained in:
tibbi 2022-02-09 11:07:58 +01:00
parent 127c62a9c9
commit 757718ca2f
4 changed files with 11 additions and 7 deletions

View File

@ -50,7 +50,7 @@ android {
flavorDimensions "variants"
productFlavors {
basic {}
core {}
fdroid {}
}
@ -69,9 +69,9 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:14033f9b50'
implementation 'com.github.SimpleMobileTools:Simple-Commons:fb636d1297'
implementation 'androidx.multidex:multidex:2.0.1'
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
implementation "androidx.print:print:1.0.0"

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="show_donate_in_about">true</bool>
</resources>

View File

@ -540,7 +540,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
if (it) {
SetRemindersDialog(this, BIRTHDAY_EVENT) {
val reminders = it
val privateCursor = getMyContactsCursor(false, false)?.loadInBackground()
val privateCursor = getMyContactsCursor(false, false)
ensureBackgroundThread {
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
@ -570,7 +570,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
if (it) {
SetRemindersDialog(this, ANNIVERSARY_EVENT) {
val reminders = it
val privateCursor = getMyContactsCursor(false, false)?.loadInBackground()
val privateCursor = getMyContactsCursor(false, false)
ensureBackgroundThread {
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)
@ -600,7 +600,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
return
}
val privateCursor = getMyContactsCursor(false, false)?.loadInBackground()
val privateCursor = getMyContactsCursor(false, false)
ensureBackgroundThread {
val privateContacts = MyContactsContentProvider.getSimpleContacts(this, privateCursor)

View File

@ -1,7 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.5.31'
ext.kotlin_version = '1.6.10'
repositories {
google()