mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Fix notification click crash
This commit is contained in:
@@ -591,7 +591,7 @@ public class MainActivity extends QKActivity implements SlidingMenu.SlidingMenuL
|
||||
public void onClosed() {
|
||||
// When the menu (i.e. the conversation list) has been closed, the content has been opened.
|
||||
// So notify the content fragment.
|
||||
if (mContent != null) mContent.onContentOpened();
|
||||
if (mContent != null && ((Fragment) mContent).isAdded()) mContent.onContentOpened();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user