Added a reset button widget
This commit is contained in:
parent
9a3e02f82c
commit
7dfc3cbe59
|
@ -0,0 +1,21 @@
|
|||
package com.vanced.manager.ui.widget.button
|
||||
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Modifier
|
||||
import com.vanced.manager.R
|
||||
import com.vanced.manager.ui.component.button.ManagerThemedTextButton
|
||||
import com.vanced.manager.ui.resources.managerString
|
||||
|
||||
@Composable
|
||||
fun ManagerResetButton(
|
||||
onClick: () -> Unit
|
||||
) {
|
||||
ManagerThemedTextButton(
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
text = managerString(
|
||||
stringId = R.string.dialog_button_reset
|
||||
),
|
||||
onClick = onClick
|
||||
)
|
||||
}
|
Loading…
Reference in New Issue