Skip to content

Commit 5a4a526

Browse files
committed
feat: button weight
1 parent 96089c9 commit 5a4a526

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

app/src/main/java/to/bitkit/ui/screens/wallets/sheets/NewTransactionSheet.kt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,21 @@ private fun NewTransactionSheetView(
100100
modifier = Modifier.fillMaxWidth()
101101
) {
102102
SecondaryButton(
103-
text = stringResource(R.string.common__close), //get correct text
103+
text = stringResource(R.string.wallet__send_details),
104104
onClick = onCloseClick,
105+
fullWidth = false,
106+
modifier = Modifier.weight(1f)
105107
)
106108
PrimaryButton(
107-
text = stringResource(R.string.common__close), //get correct text
109+
text = stringResource(R.string.common__close),
108110
onClick = onCloseClick,
109-
fullWidth = false
111+
fullWidth = false,
112+
modifier = Modifier.weight(1f)
110113
)
111114
}
112115
} else {
113116
PrimaryButton(
114-
text = stringResource(R.string.common__close), //get correct text
117+
text = stringResource(R.string.common__close), //TODO get correct text
115118
onClick = onCloseClick,
116119
)
117120
}

0 commit comments

Comments
 (0)