diff --git a/android/Omnivore/app/src/main/java/app/omnivore/omnivore/ui/auth/AppleAuth.kt b/android/Omnivore/app/src/main/java/app/omnivore/omnivore/ui/auth/AppleAuth.kt index fa8d7cc69..ff9ef3b8b 100644 --- a/android/Omnivore/app/src/main/java/app/omnivore/omnivore/ui/auth/AppleAuth.kt +++ b/android/Omnivore/app/src/main/java/app/omnivore/omnivore/ui/auth/AppleAuth.kt @@ -53,21 +53,11 @@ fun AppleAuthDialog(onDismiss: (String?) -> Unit) { shape = RoundedCornerShape(16.dp), color = Color.White ) { - AppleAuthWebContainerView(onDismiss) + AppleAuthWebView(onDismiss) } } } -@OptIn(ExperimentalMaterial3Api::class) -@SuppressLint("UnusedMaterial3ScaffoldPaddingParameter") -@Composable -fun AppleAuthWebContainerView(onDismiss: (String?) -> Unit) { - Scaffold( - topBar = { TopAppBar(title = { Text("WebView", color = Color.White) }, backgroundColor = Color(0xff0f9d58)) }, - content = { AppleAuthWebView(onDismiss) } - ) -} - @SuppressLint("SetJavaScriptEnabled") @Composable fun AppleAuthWebView(onDismiss: (String?) -> Unit) {