mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
move maybeAskDirectly() to the updateReminders()-AsyncTask, this avoids the keyboard not being closed during the permission-quesions
This commit is contained in:
parent
1caaac58b9
commit
537ea4a195
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,6 @@ public class ConversationListFragment extends Fragment
|
|||
super.onResume();
|
||||
|
||||
updateReminders();
|
||||
DozeReminder.maybeAskDirectly(getActivity());
|
||||
list.getAdapter().notifyDataSetChanged();
|
||||
}
|
||||
|
||||
|
@ -239,6 +238,7 @@ public class ConversationListFragment extends Fragment
|
|||
|
||||
@Override
|
||||
protected void onPostExecute(Optional<? extends Reminder> reminder) {
|
||||
DozeReminder.maybeAskDirectly(getActivity());
|
||||
if (reminder.isPresent() && getActivity() != null && !isRemoving()) {
|
||||
reminderView.showReminder(reminder.get());
|
||||
} else if (!reminder.isPresent()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue