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 { defaultConfig {
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 29 targetSdkVersion 29
versionCode 359 versionCode 360
versionName "2.34.1" versionName "2.34.2"
multiDexEnabled true multiDexEnabled true
renderscriptTargetApi 28 as int renderscriptTargetApi 28 as int
renderscriptSupportModeEnabled true renderscriptSupportModeEnabled true

View File

@ -6,3 +6,4 @@ Fixed:
- Crash when playing Youtube videos in timelines - Crash when playing Youtube videos in timelines
- Announcements not displayed - 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) { 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; return;
final List<Emojis> emojis = poll.getEmojis(); final List<Emojis> emojis = poll.getEmojis();
SharedPreferences sharedpreferences = context.getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE); SharedPreferences sharedpreferences = context.getSharedPreferences(Helper.APP_PREFS, Context.MODE_PRIVATE);