mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-22 09:04:32 +01:00
Spotify Req Fix.
This commit is contained in:
parent
1ac83b63f2
commit
5ceb58e6de
@ -36,7 +36,6 @@ fun SpotiFlyerMainContent(component: SpotiFlyerMain){
|
|||||||
val model by component.models.collectAsState(SpotiFlyerMain.State())
|
val model by component.models.collectAsState(SpotiFlyerMain.State())
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
|
|
||||||
SearchPanel(
|
SearchPanel(
|
||||||
model.link,
|
model.link,
|
||||||
component::onInputLinkChanged,
|
component::onInputLinkChanged,
|
||||||
|
@ -4,9 +4,9 @@ import androidx.compose.animation.core.*
|
|||||||
import androidx.compose.animation.core.Spring.StiffnessLow
|
import androidx.compose.animation.core.Spring.StiffnessLow
|
||||||
import androidx.compose.foundation.Image
|
import androidx.compose.foundation.Image
|
||||||
import androidx.compose.foundation.layout.*
|
import androidx.compose.foundation.layout.*
|
||||||
import androidx.compose.material.MaterialTheme
|
import androidx.compose.material.*
|
||||||
import androidx.compose.material.Text
|
import androidx.compose.material.icons.Icons
|
||||||
import androidx.compose.material.TopAppBar
|
import androidx.compose.material.icons.filled.Settings
|
||||||
import androidx.compose.runtime.*
|
import androidx.compose.runtime.*
|
||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
@ -108,15 +108,13 @@ fun AppBar(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
/*actions = {
|
actions = {
|
||||||
Providers(AmbientContentAlpha provides ContentAlpha.medium) {
|
|
||||||
IconButton(
|
IconButton(
|
||||||
onClick = { *//* TODO: Open Preferences*//* }
|
onClick = { /*TODO: Open Preferences*/ }
|
||||||
) {
|
) {
|
||||||
Icon(Icons.Filled.Settings, tint = Color.Gray)
|
Icon(Icons.Filled.Settings,"Preferences", tint = Color.Gray)
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
},*/
|
|
||||||
modifier = modifier,
|
modifier = modifier,
|
||||||
elevation = 0.dp
|
elevation = 0.dp
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@ import com.shabinder.common.models.spotify.Track
|
|||||||
import io.ktor.client.*
|
import io.ktor.client.*
|
||||||
import io.ktor.client.request.*
|
import io.ktor.client.request.*
|
||||||
|
|
||||||
private const val BASE_URL = "https://api.spotify.com/v1/"
|
private const val BASE_URL = "https://api.spotify.com/v1"
|
||||||
|
|
||||||
interface SpotifyRequests {
|
interface SpotifyRequests {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user