This repository was archived by the owner on Jul 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
app/src/main/java/com/zulip/android/activities Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ public class ZulipActivity extends AppCompatActivity implements
151151 private SimpleCursorAdapter streamActvAdapter ;
152152 private SimpleCursorAdapter subjectActvAdapter ;
153153 private SimpleCursorAdapter emailActvAdapter ;
154+ private AppBarLayout appBarLayout ;
154155
155156 private BroadcastReceiver onGcmMessage = new BroadcastReceiver () {
156157 public void onReceive (Context contenxt , Intent intent ) {
@@ -289,6 +290,7 @@ protected void onCreate(Bundle savedInstanceState) {
289290 messageEt = (AutoCompleteTextView ) findViewById (R .id .message_et );
290291 textView = (TextView ) findViewById (R .id .textView );
291292 sendBtn = (ImageView ) findViewById (R .id .send_btn );
293+ appBarLayout = (AppBarLayout ) findViewById (R .id .appBarLayout );
292294 app .setZulipActivity (this );
293295 togglePrivateStreamBtn = (ImageView ) findViewById (R .id .togglePrivateStream_btn );
294296 mutedTopics = new ArrayList <>();
@@ -1193,6 +1195,7 @@ public void doNarrow(NarrowFilter filter) {
11931195 // Push to the back stack if we are not already narrowed
11941196 pushListFragment (narrowedList , NARROW );
11951197 narrowedList .onReadyToDisplay (true );
1198+ showView (appBarLayout );
11961199 }
11971200
11981201 @ Override
You can’t perform that action at this time.
0 commit comments