-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🚀 Help screen UI improvement + New transition
* Improved UI * Removed help tip (How to find books) * Improved animations * Removed unused string resources * New transition Part of: #60
- Loading branch information
Showing
14 changed files
with
75 additions
and
353 deletions.
There are no files selected for viewing
5 changes: 1 addition & 4 deletions
5
app/src/main/java/ua/acclorite/book_story/domain/model/HelpTip.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
package ua.acclorite.book_story.domain.model | ||
|
||
import androidx.annotation.StringRes | ||
import androidx.compose.foundation.layout.ColumnScope | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.runtime.Immutable | ||
import androidx.compose.ui.text.AnnotatedString | ||
import ua.acclorite.book_story.domain.util.OnNavigate | ||
import ua.acclorite.book_story.presentation.screens.help.data.HelpEvent | ||
|
||
@Immutable | ||
data class HelpTip( | ||
@StringRes val title: Int, | ||
val description: @Composable AnnotatedString.Builder.(onNavigate: OnNavigate, fromStart: Boolean) -> Unit, | ||
val customContent: @Composable ColumnScope.(onHelpEvent: (HelpEvent) -> Unit) -> Unit = {}, | ||
val description: @Composable AnnotatedString.Builder.(onNavigate: OnNavigate, fromStart: Boolean) -> Unit | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.