Skip to content

Commit 391aeea

Browse files
committed
enhance #7: cleanup the code
1 parent 127c5be commit 391aeea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AgeInMinutes/app/src/main/java/com/example/ageinminutes/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class MainActivity : AppCompatActivity() {
2525

2626
// calender Date picker function
2727

28-
fun clickDatePicker(view: View) {
28+
private fun clickDatePicker(view: View) {
2929
val myCalendar = Calendar.getInstance()
3030
val year = myCalendar.get(Calendar.YEAR)
3131
val month = myCalendar.get(Calendar.MONTH)

0 commit comments

Comments
 (0)