mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
Fix a null-pointer exception when using tablets.
This commit is contained in:
@@ -301,7 +301,10 @@ public class AccountSettingsActivity extends BaseFragment implements Notificatio
|
||||
if( (int)args[0]==1 ) {
|
||||
if( fromIntro ) {
|
||||
presentFragment(new DialogsActivity(null), true);
|
||||
((LaunchActivity)getParentActivity()).drawerLayoutContainer.setAllowOpenDrawer(true, false);
|
||||
LaunchActivity la = ((LaunchActivity)getParentActivity());
|
||||
if( la != null ) {
|
||||
la.drawerLayoutContainer.setAllowOpenDrawer(true, false);
|
||||
}
|
||||
}
|
||||
else {
|
||||
finishFragment();
|
||||
|
||||
Reference in New Issue
Block a user