diff --git a/feature/drive/src/commonMain/kotlin/ui/DriveScreen.kt b/feature/drive/src/commonMain/kotlin/ui/DriveScreen.kt index 0a559e07..b613a867 100644 --- a/feature/drive/src/commonMain/kotlin/ui/DriveScreen.kt +++ b/feature/drive/src/commonMain/kotlin/ui/DriveScreen.kt @@ -15,6 +15,8 @@ import androidx.compose.runtime.getValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import org.pointyware.xyz.core.navigation.XyzNavController +import org.pointyware.xyz.core.ui.AdView +import org.pointyware.xyz.core.ui.AdViewState import org.pointyware.xyz.core.ui.MapView import org.pointyware.xyz.core.viewmodels.MapUiState import org.pointyware.xyz.drive.viewmodels.DriveViewModel @@ -55,6 +57,11 @@ fun DriveScreen( modifier = Modifier.fillMaxSize() ) + AdView( + state = AdViewState(unit = "ca-app-pub-7815756395963999/7475476086"), + modifier = Modifier.align(Alignment.TopCenter) + ) + AnimatedContent( targetState = state, modifier = Modifier