modifierAndAlignmentFor

private fun modifierAndAlignmentFor(cameraPreviewRatio: ResolutionSelector, geminiStatus: GeminiStatus): Pair<Modifier, Alignment>

Specifies the right modifier and alignment for 4_3 and 16_9 camera preview ratios when Gemini is enabled

  • 4_3 -> Top with height equal to half of the available height

  • 16_9 -> Bottom with max size