We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e947156 commit ebc9788Copy full SHA for ebc9788
1 file changed
ChangeLogLib/src/main/java/info/hannes/changelog/ChangeLog.kt
@@ -5,6 +5,8 @@ import android.content.Context
5
import android.content.SharedPreferences
6
import android.content.pm.PackageManager.NameNotFoundException
7
import android.os.Build
8
+import android.os.Handler
9
+import android.os.Looper
10
import android.preference.PreferenceManager
11
import android.util.Log
12
import android.util.SparseArray
@@ -216,7 +218,7 @@ open class ChangeLog @JvmOverloads constructor(
216
218
// Show "More…" button if we're only displaying a partial change log.
217
219
builder.setNegativeButton(
220
R.string.changelog_show_full
- ) { _, _ -> fullLogDialog.show() }
221
+ ) { _, _ -> Handler(Looper.getMainLooper()).post{fullLogDialog.show()} }
222
}
223
224
return builder.create()
0 commit comments