From 7005d6d760723a545ec6b04c84b509795f5d8f46 Mon Sep 17 00:00:00 2001 From: joemacd Date: Sun, 1 Sep 2024 13:42:28 -0400 Subject: [PATCH] hide nav bar for news fragment when open --- .../src/main/java/com/pennapps/labs/pennmobile/NewsFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/PennMobile/src/main/java/com/pennapps/labs/pennmobile/NewsFragment.kt b/PennMobile/src/main/java/com/pennapps/labs/pennmobile/NewsFragment.kt index 3dab6fff..a88ef4e1 100644 --- a/PennMobile/src/main/java/com/pennapps/labs/pennmobile/NewsFragment.kt +++ b/PennMobile/src/main/java/com/pennapps/labs/pennmobile/NewsFragment.kt @@ -212,6 +212,7 @@ class NewsFragment : ListFragment() { super.onResume() val mActivity : MainActivity = activity as MainActivity mActivity.removeTabs() + mActivity.hideBottomBar() mActivity.setTitle(R.string.news) val initials = sharedPreferences.getString(getString(R.string.initials), null) if (!initials.isNullOrEmpty()) {