Skip to content

Calendar functionality fix#37

Merged
Mariam-98 merged 7 commits intomainfrom
bugfix/calendar_functionality_fix
Sep 6, 2023
Merged

Calendar functionality fix#37
Mariam-98 merged 7 commits intomainfrom
bugfix/calendar_functionality_fix

Conversation

@manukyan-edgar
Copy link
Copy Markdown
Contributor

No description provided.

@manukyan-edgar manukyan-edgar marked this pull request as draft September 5, 2023 08:18
manukyan-edgar and others added 4 commits September 5, 2023 12:33
# Conflicts:
#	app/src/main/java/com/simply/birthdayapp/presentation/ui/screens/main/MainScreen.kt
#	app/src/main/java/com/simply/birthdayapp/presentation/ui/screens/main/profile/ProfileMainScreen.kt
@Mariam-98 Mariam-98 marked this pull request as ready for review September 6, 2023 07:52
// compose
implementation(platform("androidx.compose:compose-bom:2023.08.00"))
implementation("androidx.compose.material3:material3")
implementation("androidx.compose.material3:material3:1.2.0-alpha06")
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why are you using the alpha version?

val id = userEmailContract?.calendarId ?: if (contractList.isNotEmpty()) contractList[0].calendarId else return null
val dateWithCurrentYear = Calendar.getInstance().apply {
time = Date(date)
set(Calendar.YEAR, Calendar.getInstance()[Calendar.YEAR])
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can't you use 'this' here instead of Calendar.getInstance()?

@Mariam-98 Mariam-98 merged commit 399c8e6 into main Sep 6, 2023
@Mariam-98 Mariam-98 deleted the bugfix/calendar_functionality_fix branch September 6, 2023 11:03
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.

3 participants