Remove low profile mode.

This commit is contained in:
Alex Hart
2022-07-25 12:57:33 -03:00
committed by Cody Henthorne
parent b20658c829
commit 7511a9ae8c
2 changed files with 0 additions and 7 deletions

View File

@@ -41,7 +41,6 @@ import org.thoughtcrime.securesms.mediasend.v2.text.send.TextStoryPostSendReposi
import org.thoughtcrime.securesms.recipients.RecipientId
import org.thoughtcrime.securesms.safety.SafetyNumberBottomSheet
import org.thoughtcrime.securesms.stories.Stories
import org.thoughtcrime.securesms.util.FullscreenHelper
import org.thoughtcrime.securesms.util.navigation.safeNavigate
import org.thoughtcrime.securesms.util.visible
@@ -154,8 +153,6 @@ class MediaSelectionActivity :
}
onBackPressedDispatcher.addCallback(OnBackPressed())
FullscreenHelper.setLowProfileMode(window)
}
private fun animateTextStyling(selectedSwitch: TextView, unselectedSwitch: TextView, duration: Long) {

View File

@@ -169,8 +169,4 @@ public final class FullscreenHelper {
View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION |
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
}
public static void setLowProfileMode(@NonNull Window window) {
window.getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE);
}
}