File tree Expand file tree Collapse file tree
java/org/quantumbadger/redreader/reddit/prepared Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /Alpha 366 (2026-06-28)
2+ Fix occasional setSpan crash when viewing comments with emote flairs
3+
14/Alpha 365 (2026-04-02)
25Workaround for text field issue on Reddit's login page (caused by their cookie banner)
36
Original file line number Diff line number Diff line change 1+ 118/1.26
2+ Fix occasional setSpan crash when viewing comments with emote flairs
3+
14117/1.25.2
25Workaround for text field issue on Reddit's login page (caused by their cookie banner)
36
Original file line number Diff line number Diff line change 3333import org .quantumbadger .redreader .cache .CacheRequest ;
3434import org .quantumbadger .redreader .cache .CacheRequestCallbacks ;
3535import org .quantumbadger .redreader .cache .downloadstrategy .DownloadStrategyIfNotCached ;
36+ import org .quantumbadger .redreader .common .AndroidCommon ;
3637import org .quantumbadger .redreader .common .BetterSSB ;
3738import org .quantumbadger .redreader .common .Constants ;
3839import org .quantumbadger .redreader .common .General ;
@@ -200,9 +201,11 @@ public void onDataStreamComplete(
200201 image ,
201202 alignment );
202203
203- if (mFlair != null ) {
204- mFlair .replace (placeholder , span );
205- }
204+ AndroidCommon .runOnUiThread (() -> {
205+ if (mFlair != null ) {
206+ mFlair .replace (placeholder , span );
207+ }
208+ });
206209 } catch (final Throwable t ) {
207210 onFailure (new RRError (
208211 "Exception while downloading emote" ,
You can’t perform that action at this time.
0 commit comments