Skip to content

Commit

Permalink
fix: pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yamilmedina committed Dec 3, 2024
1 parent 6c04bd2 commit 6e10256
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ fun <T : Any> rememberWireModalSheetState(
val softwareKeyboardController = LocalSoftwareKeyboardController.current
val density = LocalDensity.current
val scope = rememberCoroutineScope()
// TODO: we can use rememberSaveable instead of remember to save the state but first we need to make sure that we don't store too much,
// especially for conversations and messages to not keep such data unencrypted anywhere
return remember {
WireModalSheetState(
density = density,
Expand Down

0 comments on commit 6e10256

Please sign in to comment.