Add: NoAction ActionState

This commit is contained in:
machiav3lli 2022-06-03 10:38:44 +02:00
parent 4a323ded0b
commit ed0ad62dc0
2 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,7 @@ sealed class ActionState(
object Details : ActionState(R.string.details, Icons.Rounded.Tune)
object Share : ActionState(R.string.share, Icons.Rounded.Share)
class Cancel(@StringRes stateId: Int) : ActionState(stateId, Icons.Rounded.Close)
object NoAction : ActionState(R.string.no_action_possible, Icons.Rounded.Close)
}
open class LinkType(

View File

@ -197,4 +197,5 @@
<string name="dialog_refuse">Keep</string>
<string name="dialog_approve">Turn off</string><string name="root_session_installer">Use root session installer</string>
<string name="root_session_installer_description">The session installer is a bit less performant that the legacy one, but avoids issues with installed apps in Android +13.</string>
<string name="no_action_possible">No Action Possible</string>
</resources>