mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 09:07:01 +05:30
Revert "Pass correct variable to EmptyList"
This is wrong and causes the saved posts message to be shown on both screens.
This reverts commit d93910ba5a
.
This commit is contained in:
parent
600c93ed0f
commit
5782ae9438
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ fun LobstersApp(
|
|||
if (saved && savedPosts.value.isEmpty()) {
|
||||
EmptyList(saved)
|
||||
} else if (!saved && posts.value.isEmpty()) {
|
||||
EmptyList(!saved)
|
||||
EmptyList(saved)
|
||||
} else {
|
||||
LobsterList(
|
||||
showSaved.value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue