Skip to content

Commit

Permalink
Merge pull request #205 from AppDevNext/FixRareFlickering
Browse files Browse the repository at this point in the history
Fix rare flickering
  • Loading branch information
hannesa2 authored Dec 4, 2024
2 parents e947156 + ebc9788 commit d0ec56f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import android.content.Context
import android.content.SharedPreferences
import android.content.pm.PackageManager.NameNotFoundException
import android.os.Build
import android.os.Handler
import android.os.Looper
import android.preference.PreferenceManager
import android.util.Log
import android.util.SparseArray
Expand Down Expand Up @@ -216,7 +218,7 @@ open class ChangeLog @JvmOverloads constructor(
// Show "More…" button if we're only displaying a partial change log.
builder.setNegativeButton(
R.string.changelog_show_full
) { _, _ -> fullLogDialog.show() }
) { _, _ -> Handler(Looper.getMainLooper()).post{fullLogDialog.show()} }
}

return builder.create()
Expand Down

0 comments on commit d0ec56f

Please sign in to comment.