mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
remove topbar from apple auth webview
This commit is contained in:
parent
3d78b4df44
commit
0786e71c68
1 changed files with 1 additions and 11 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue