mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 21:45:42 +03:00
fix to hide dialog automatically after 2,5 seconds
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
9b8ea52024
commit
a22b93f363
1 changed files with 7 additions and 1 deletions
|
@ -1023,9 +1023,15 @@ public class ConversationsListController extends BaseController implements Searc
|
|||
}
|
||||
}
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.BACKGROUND)
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
public void onMessageEvent(ConversationsListFetchDataEvent conversationsListFetchDataEvent) {
|
||||
fetchData();
|
||||
|
||||
new Handler().postDelayed(() -> {
|
||||
if (conversationsListBottomDialog.isShowing()) {
|
||||
conversationsListBottomDialog.dismiss();
|
||||
}
|
||||
}, 2500);
|
||||
}
|
||||
|
||||
private void showDeleteConversationDialog(Bundle savedInstanceState) {
|
||||
|
|
Loading…
Reference in a new issue