Skip to content

Commit

Permalink
Prevent bottom sheet from jumping position
Browse files Browse the repository at this point in the history
  • Loading branch information
hegocre committed Aug 15, 2023
1 parent 325ea2c commit a2314b5
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,7 @@ fun PasswordItemContent(
}
},
onClickText = { showPassword = !showPassword },
maxLines = if (showPassword) null else 1,
fontFamily = if (showPassword) FontFamily(Font(R.font.dejavu_sans_mono)) else null
fontFamily = FontFamily(Font(R.font.dejavu_sans_mono))
)
}

Expand Down Expand Up @@ -298,8 +297,7 @@ fun PasswordItemContent(
},

onClickText = { showSecret = !showSecret },
maxLines = if (showSecret) null else 1,
fontFamily = if (showSecret) FontFamily(Font(R.font.dejavu_sans_mono)) else null
fontFamily = FontFamily(Font(R.font.dejavu_sans_mono))
)
}

Expand Down

0 comments on commit a2314b5

Please sign in to comment.