Fix split pane UI not showing after registration on large screen devices.

This commit is contained in:
jeffrey-signal
2025-12-09 10:34:23 -05:00
committed by Michelle Tang
parent 587c9cb46f
commit c33716c7b5
8 changed files with 9 additions and 63 deletions

View File

@@ -20,7 +20,6 @@ import org.thoughtcrime.securesms.util.ThemeUtil
import org.thoughtcrime.securesms.util.ViewUtil
import org.thoughtcrime.securesms.util.WindowUtil
import org.thoughtcrime.securesms.window.getWindowSizeClass
import org.thoughtcrime.securesms.window.isLargeScreenSupportEnabled
import org.thoughtcrime.securesms.window.isSplitPane
import com.google.android.material.R as MaterialR
@@ -33,7 +32,7 @@ abstract class FixedRoundedCornerBottomSheetDialogFragment : BottomSheetDialogFr
* Sheet corner radius in DP
*/
protected val cornerRadius: Int by lazy {
if (isLargeScreenSupportEnabled() && resources.getWindowSizeClass().isSplitPane()) {
if (resources.getWindowSizeClass().isSplitPane()) {
32
} else {
18