Skip to content

Commit

Permalink
Add mapbox support
Browse files Browse the repository at this point in the history
  • Loading branch information
thekaailashsharma committed Dec 9, 2023
1 parent d94af06 commit 9396f89
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions app/src/main/java/ai/travel/app/home/ui/CollapsedTopBar.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.Spacer
Expand Down Expand Up @@ -66,14 +65,11 @@ import androidx.compose.ui.graphics.BlendMode
import androidx.compose.ui.graphics.Brush
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.graphicsLayer
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.text.SpanStyle
import androidx.compose.ui.text.buildAnnotatedString
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.text.withStyle
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import androidx.navigation.NavController
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/ai/travel/app/tripDetails/TripDetails.kt
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ fun TripDetailsScreen(
)
}
},
contentScale = ContentScale.FillBounds
contentScale = ContentScale.FillWidth
)
}
}
Expand Down
2 changes: 1 addition & 1 deletion maps/src/main/java/com/example/mapbox_map/MapBoxMap.kt
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ fun MapBoxMap(
)
}

fun addAnnotationToMap(
private fun addAnnotationToMap(
icon: Int,
context: Context,
mapView: MapView,
Expand Down

0 comments on commit 9396f89

Please sign in to comment.