mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-24 03:42:15 +00:00
Remove: Unused expand/retract ActionStates
This commit is contained in:
parent
f243fda8d1
commit
1f97ce605f
@ -7,8 +7,6 @@ import android.net.Uri
|
|||||||
import androidx.annotation.DrawableRes
|
import androidx.annotation.DrawableRes
|
||||||
import androidx.annotation.StringRes
|
import androidx.annotation.StringRes
|
||||||
import androidx.compose.material.icons.Icons
|
import androidx.compose.material.icons.Icons
|
||||||
import androidx.compose.material.icons.rounded.ArrowDropDown
|
|
||||||
import androidx.compose.material.icons.rounded.ArrowDropUp
|
|
||||||
import androidx.compose.material.icons.rounded.Close
|
import androidx.compose.material.icons.rounded.Close
|
||||||
import androidx.compose.material.icons.rounded.Delete
|
import androidx.compose.material.icons.rounded.Delete
|
||||||
import androidx.compose.material.icons.rounded.Download
|
import androidx.compose.material.icons.rounded.Download
|
||||||
@ -125,8 +123,6 @@ sealed class ActionState(
|
|||||||
object Share : ActionState(R.string.share, Icons.Rounded.Share)
|
object Share : ActionState(R.string.share, Icons.Rounded.Share)
|
||||||
class Cancel(@StringRes stateId: Int) : ActionState(stateId, Icons.Rounded.Close)
|
class Cancel(@StringRes stateId: Int) : ActionState(stateId, Icons.Rounded.Close)
|
||||||
object NoAction : ActionState(R.string.no_action_possible, Icons.Rounded.Close)
|
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 Bookmark : ActionState(R.string.favorite_add, Icons.Rounded.FavoriteBorder)
|
||||||
object Bookmarked : ActionState(R.string.favorite_remove, Icons.Rounded.Favorite)
|
object Bookmarked : ActionState(R.string.favorite_remove, Icons.Rounded.Favorite)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user