Prepare release 2.34.2

This commit is contained in:
tom79 2020-04-12 09:55:15 +02:00
parent 305904abf3
commit 47ba5cbf47
3 changed files with 5 additions and 4 deletions

View File

@ -6,8 +6,8 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 29
versionCode 359
versionName "2.34.1"
versionCode 360
versionName "2.34.2"
multiDexEnabled true
renderscriptTargetApi 28 as int
renderscriptSupportModeEnabled true

View File

@ -5,4 +5,5 @@ Added:
Fixed:
- Crash when playing Youtube videos in timelines
- Announcements not displayed
- A crash due to recent changes
- A crash due to recent changes
- +Fix a crash due to polls

View File

@ -929,7 +929,7 @@ public class Status implements Parcelable {
}
public static void makeEmojiPoll(final Context context, Poll poll) {
if (((Activity) context).isFinishing() || poll == null)
if (((Activity) context).isFinishing() || poll == null || poll.getOptionsList() == null)
return;
final List<Emojis> emojis = poll.getEmojis();
SharedPreferences sharedpreferences = context.getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);