Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ dependencies {
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
implementation 'androidx.activity:activity-compose:1.3.1'

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
Expand All @@ -74,11 +75,13 @@ dependencies {
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
implementation "androidx.navigation:navigation-compose:2.4.2" //for navigation
implementation "com.google.accompanist:accompanist-systemuicontroller:0.17.0"

//for statusbar change
implementation "com.google.accompanist:accompanist-navigation-animation:0.16.0"
// For navigation animation

// For navigation animation
implementation 'com.google.code.gson:gson:2.9.0'

implementation 'io.coil-kt:coil-compose:2.0.0'

implementation 'com.squareup.retrofit2:retrofit:2.9.0'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
package com.example.mycomposecookbook.screen

import android.os.Bundle
import androidx.activity.ComponentActivity

class ImagePickerActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
//fixed
Copy link
Owner Author

Choose a reason for hiding this comment

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

remove commented line

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ fun LoginScreen(




/*val scaffoldState = rememberScaffoldState() // this contains the `SnackbarHostState`
Copy link
Owner Author

Choose a reason for hiding this comment

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

remove commented lines

val (showSnackBar, setShowSnackBar) = remember {
mutableStateOf(false)
Expand Down