Skip to content

Commit

Permalink
add previews, readme update, minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
nijuyonkadesu committed Jan 1, 2023
1 parent a48f340 commit 80382d0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ App is designed by following the best architecture patterns. Built with love in
- [x] SQL Delight
- [x] Date-Time Format

## Previews
<p align="center">
<img src="previews/ss (1).png" alt="drawing" width="270px" />
<img src="previews/ss (2).png" alt="drawing" width="270px" />
<img src="previews/ss (3).png" alt="drawing" width="269px" /><br>
</p>

## Download APK
Go to the [Releases](https://github.com/nijuyonkadesu/NotesApp/releases) to download the latest APK

## References
- Thankyou [Philipp Lackner](https://www.youtube.com/@PhilippLackner) 💌 for this wonderful resource
- [Kotlin Pathways](https://developer.android.com/courses)
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ class NoteDetailViewModel @Inject constructor(
existingNoteId = it
viewModelScope.launch {
existingNoteId?.let { id ->
noteDataSource.getNoteById(id)?.let {
savedStateHandle["noteTitle"] = it.title
savedStateHandle["noteContent"] = it.content
savedStateHandle["noteColor"] = it.colorHex
noteDataSource.getNoteById(id)?.let { note ->
savedStateHandle["noteTitle"] = note.title
savedStateHandle["noteContent"] = note.content
savedStateHandle["noteColor"] = note.colorHex
}
}
}
Expand Down
Binary file added previews/ss (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added previews/ss (2).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added previews/ss (3).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 80382d0

Please sign in to comment.