Skip to content

A bunch of minor edits.#269

Merged
joreilly merged 2 commits intojoreilly:mainfrom
yschimke:cleanup
Dec 31, 2024
Merged

A bunch of minor edits.#269
joreilly merged 2 commits intojoreilly:mainfrom
yschimke:cleanup

Conversation

@yschimke
Copy link
Contributor

@yschimke yschimke commented Dec 31, 2024

As I was exploring the code, there were somethings that seems could be slightly cleaned up.

Happy to drop all or revert some.

As I was exploring the code, there were somethings that seems could be cleanup up slightly.

Happy to drop all or revert some.

androidMain.dependencies {
implementation(libs.ktor.client.android)
implementation(libs.ktor.client.okhttp)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better than Android HttpClient. Http/2.

Not used on JVM, since HttpClient is modern.

expectSuccess = true

defaultRequest {
url("https://api.citybik.es/")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for easier mock testing, but already a param so can revert.

implementation(libs.okhttp.core)
// workaround for https://youtrack.jetbrains.com/issue/CMP-5959/Invalid-redirect-in-window-core#focus=Comments-27-10365630.0-0
implementation("androidx.window:window-core:1.3.0")
implementation(libs.slf4j.android)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enable logging output



androidGradlePlugin = "8.7.3"
androidxActivity = "1.9.3"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mainly a sort


val countriesViewModel: CountriesViewModelShared
val networksViewModel: NetworksViewModelShared
val stationsViewModel: StationsViewModelShared
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are needed right now for iOS client

@joreilly joreilly merged commit 2bb448c into joreilly:main Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants