mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-09-18 01:40:34 -04:00
fixing a threading crash
This commit is contained in:
1 parent
cec880ee1d
commit
030deb8901
1 file changed
+4
-2
@@ -250,8 +250,10 @@ class SettingsActivity : SimpleActivity() {
|
||||
if (widgets.size == 1) {
|
||||
widgetToCustomize = widgets.first()
|
||||
} else if (widgets.size > 1) {
|
||||
settings_customize_widget_colors_holder.beGone()
|
||||
settings_customize_colors_holder.background = resources.getDrawable(R.drawable.ripple_all_corners, theme)
|
||||
runOnUiThread {
|
||||
settings_customize_widget_colors_holder.beGone()
|
||||
settings_customize_colors_holder.background = resources.getDrawable(R.drawable.ripple_all_corners, theme)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user