Skip to content

Commit

Permalink
12/06/2023.
Browse files Browse the repository at this point in the history
  • Loading branch information
youndon committed Jun 12, 2023
1 parent 3356f6b commit 1fe9e81
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 20 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ An image loading library for Android backed by Kotlin Coroutines.
### [AboutLibraries](https://github.com/mikepenz/AboutLibraries)
Collects all dependency details including licenses at compile time, and offers simple APIs to visualize these in the app.

### [WorkManager](https://developer.android.com/topic/libraries/architecture/workmanager)
WorkManager is the recommended solution for persistent work. Work is persistent when it remains scheduled through app restarts and system reboots.

## Security
### [Jetpack Security](https://developer.android.com/jetpack/androidx/releases/security)
Safely manage keys and encrypt files and sharedpreferences.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import com.example.common_ui.MaterialColors.Companion.ON_SURFACE
import com.example.graph.getMaterialColor

@Composable
fun AboutContent() {
fun AboutDescription() {
Text(
text = about,
fontSize = 20.sp,
Expand All @@ -21,10 +21,10 @@ fun AboutContent() {
)
}

val about = "$APP_NAME is a dataEntity-taking and todo management open-source application.\n\n" +
val about = "$APP_NAME is a note-taking and todo management open-source application.\n\n" +
" It is developed by City-Zouitel organization on github.\n\n" +
" And It is intended for archiving and creating notes in which photos," +
" audio and saved web linkEntities, numbers and map locations.\n\n" +
" audio and saved web links, numbers and map locations.\n\n" +
"Version: $APP_VERSION"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fun AppAbout(
state = lazyListState
) {
item { AboutLabel() }
item { AboutContent() }
item { AboutDescription() }
item { AboutSources() }
}
}
Expand Down
32 changes: 16 additions & 16 deletions ui/graph/src/main/java/com/example/graph/note_card/NoteCard.kt
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,22 @@ private fun Card(
}
}

// display link card.
observerLinks.value.filter {
observerNoteAndLink.value.contains(
NoteAndLink(note.uid, it.id)
)
}.forEach { _link ->
LinkPart(
linkVM = linkVM,
noteAndLinkVM = noteAndLinkVM,
noteUid = note.uid,
swipeable = false,
link = _link,
)
}

// display tasks list.
if (
observeTodoList.value.any {
observeNoteAndTodo.value.contains(
Expand All @@ -364,22 +380,6 @@ private fun Card(
)
}

// display link card.
observerLinks.value.filter {
observerNoteAndLink.value.contains(
NoteAndLink(note.uid, it.id)
)
}.forEach { _link ->
LinkPart(
linkVM = linkVM,
noteAndLinkVM = noteAndLinkVM,
noteUid = note.uid,
swipeable = false,
link = _link,
)
}


AnimatedVisibility(visible = todoListState, modifier = Modifier.height(100.dp)) {
LazyColumn {
item {
Expand Down

0 comments on commit 1fe9e81

Please sign in to comment.