Fixed calendar name

pull/210/head
M66B 2 years ago
parent 965e31daba
commit 4e0e75a008

@ -3928,7 +3928,7 @@ public class MessageHelper {
try { try {
JSONObject jselected = new JSONObject(account.calendar); JSONObject jselected = new JSONObject(account.calendar);
selectedAccount = jselected.getString("account"); selectedAccount = jselected.getString("account");
selectedName = jselected.getString("name"); selectedName = jselected.optString("name", null);
} catch (Throwable ex) { } catch (Throwable ex) {
Log.i(ex); Log.i(ex);
selectedAccount = account.calendar; selectedAccount = account.calendar;

Loading…
Cancel
Save