Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ object MathUtil {
*
* @param str the value to truncate (e.g. "-2.898983455E20")
* @param maxLen the maximum number of characters in the returned string
* @return a truncation no longer then maxLen (e.g. "-2.8E20" for maxLen=7).
* @return a truncation no longer than maxLen (e.g. "-2.8E20" for maxLen=7).
*/
fun sizeTruncate(str: String, maxLen: Int): String {
if (maxLen == LEN_UNLIMITED) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ fun CalculatorScreen(
modifier = Modifier
.padding(8.dp)
.fillMaxWidth()
.then(modifier)
) {
Column(modifier = Modifier.weight(1f)) {
SideKeypadHorizontal(
Expand Down
Loading