Add: Bookmark(ed) StateActions

This commit is contained in:
machiav3lli
2022-06-23 00:28:24 +02:00
parent 2708b618b9
commit bed6c203a1
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,8 @@ import androidx.compose.material.icons.rounded.ArrowDropUp
import androidx.compose.material.icons.rounded.Close
import androidx.compose.material.icons.rounded.Delete
import androidx.compose.material.icons.rounded.Download
import androidx.compose.material.icons.rounded.Favorite
import androidx.compose.material.icons.rounded.FavoriteBorder
import androidx.compose.material.icons.rounded.Launch
import androidx.compose.material.icons.rounded.Share
import androidx.compose.material.icons.rounded.Tune
@ -124,6 +126,8 @@ sealed class ActionState(
object NoAction : ActionState(R.string.no_action_possible, Icons.Rounded.Close)
object Expand : ActionState(R.string.show_more, Icons.Rounded.ArrowDropDown)
object Retract : ActionState(R.string.show_less, Icons.Rounded.ArrowDropUp)
object Bookmark : ActionState(R.string.favorite_add, Icons.Rounded.FavoriteBorder)
object Bookmarked : ActionState(R.string.favorite_remove, Icons.Rounded.Favorite)
}
open class LinkType(