updated versions
This commit is contained in:
parent
afdb786de6
commit
8b24ebc6bf
10
build.gradle
10
build.gradle
|
@ -6,7 +6,7 @@ buildscript {
|
|||
maven { url 'https://plugins.gradle.org/m2/' }
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.1.1'
|
||||
classpath 'com.android.tools.build:gradle:3.1.2'
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
|
@ -43,12 +43,12 @@ subprojects {
|
|||
libVersions = [
|
||||
Kotlin : "${kotlinVersion}",
|
||||
MultiDex : '1.0.3',
|
||||
SupportLib : '27.1.0',
|
||||
SupportLib : '27.1.1',
|
||||
SupportTest : '1.0.0',
|
||||
MariotakuCommons : '0.9.22',
|
||||
RestFu : '0.9.61',
|
||||
ObjectCursor : '0.9.21',
|
||||
PlayServices : '11.8.0',
|
||||
PlayServices : '15.0.0',
|
||||
PlayBilling : '1.0',
|
||||
MapsUtils : '0.5',
|
||||
DropboxCoreSdk : '3.0.3',
|
||||
|
@ -78,9 +78,9 @@ subprojects {
|
|||
ACRA : '4.9.2',
|
||||
AbstractTask : '0.9.8',
|
||||
Dagger : '2.11',
|
||||
StethoBeanShellREPL : '0.3',
|
||||
StethoBeanShellREPL : '0.5',
|
||||
ArchLifecycleExtensions: '1.1.1',
|
||||
ArchPaging : '1.0.0-alpha7',
|
||||
ArchPaging : '1.0.0-rc1',
|
||||
ConstraintLayout : '1.1.0-beta6',
|
||||
MessageBubbleView : '2.1',
|
||||
]
|
||||
|
|
|
@ -78,8 +78,7 @@ class UserQrDialogFragment : BaseDialogFragment() {
|
|||
private val user: ParcelableUser
|
||||
get() = arguments!!.user!!
|
||||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
init {
|
||||
setStyle(STYLE_NO_FRAME, R.style.Theme_Twidere_Dark_Dialog_NoFrame)
|
||||
}
|
||||
|
||||
|
@ -134,7 +133,8 @@ class UserQrDialogFragment : BaseDialogFragment() {
|
|||
background.recycle()
|
||||
return@then result
|
||||
}.successUi { bitmap ->
|
||||
val fragment = weakThis?.takeIf { it.context != null && it.view != null } ?: return@successUi
|
||||
val fragment = weakThis?.takeIf { it.context != null && it.view != null }
|
||||
?: return@successUi
|
||||
fragment.qrView.visibility = View.VISIBLE
|
||||
fragment.qrProgress.visibility = View.GONE
|
||||
fragment.qrView.setImageDrawable(BitmapDrawable(fragment.resources, bitmap).apply {
|
||||
|
|
Loading…
Reference in New Issue