Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8e2c4fe authored by tibbi's avatar tibbi
Browse files

fix a glitch at setting custom dialog text title

parent d024c53b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ buildscript {
        propMinSdkVersion = 16
        propTargetSdkVersion = propCompileSdkVersion
        propVersionCode = 1
        propVersionName = '4.5.15'
        propVersionName = '4.5.16'
        kotlin_version = '1.2.60'
        support_libs = '27.1.1'
    }
+1 −1
Original line number Diff line number Diff line
@@ -780,7 +780,7 @@ fun Activity.setupDialogStuff(view: View, dialog: AlertDialog, titleId: Int = 0,
    }

    var title: TextView? = null
    if (titleId != 0) {
    if (titleId != 0 || titleText.isNotEmpty()) {
        title = layoutInflater.inflate(R.layout.dialog_title, null) as TextView
        title.dialog_title_textview.apply {
            if (titleText.isNotEmpty()) {