updating commons with some styling fixes

This commit is contained in:
tibbi 2022-07-22 23:43:18 +02:00
parent 56d3a59ff0
commit d62355bc24
3 changed files with 1 additions and 11 deletions

View File

@ -63,7 +63,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:98340aca76'
implementation 'com.github.SimpleMobileTools:Simple-Commons:4ac3979fa8'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3'
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'

View File

@ -16,7 +16,6 @@ import android.provider.MediaStore
import android.telephony.PhoneNumberUtils
import android.view.View
import android.view.ViewGroup
import android.view.WindowInsetsController
import android.view.WindowManager
import android.widget.EditText
import android.widget.ImageView
@ -110,10 +109,6 @@ class EditContactActivity : ContactActivity() {
} else {
initContact()
}
if (isRPlus()) {
window.insetsController?.setSystemBarsAppearance(0, WindowInsetsController.APPEARANCE_LIGHT_STATUS_BARS)
}
}
override fun onActivityResult(requestCode: Int, resultCode: Int, resultData: Intent?) {

View File

@ -9,7 +9,6 @@ import android.net.Uri
import android.os.Bundle
import android.provider.ContactsContract
import android.view.View
import android.view.WindowInsetsController
import android.view.WindowManager
import android.widget.RelativeLayout
import androidx.core.view.isVisible
@ -63,10 +62,6 @@ class ViewContactActivity : ContactActivity() {
showFields = config.showContactFields
contact_wrapper.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
setupMenu()
if (isRPlus()) {
window.insetsController?.setSystemBarsAppearance(0, WindowInsetsController.APPEARANCE_LIGHT_STATUS_BARS)
}
}
override fun onResume() {