Removes the ZapSplit display when the weights are zero or were incorrectly created.

This commit is contained in:
Vitor Pamplona
2023-09-18 10:36:05 -04:00
parent 4d1a99d076
commit 83be43e94e
3 changed files with 13 additions and 8 deletions
@@ -1076,6 +1076,8 @@ private fun NoteBody(
fun DisplayZapSplits(noteEvent: EventInterface, accountViewModel: AccountViewModel, nav: (String) -> Unit) {
val list = remember(noteEvent) { noteEvent.zapSplitSetup() }
if (list.isEmpty()) return
Row(verticalAlignment = CenterVertically) {
Box(
Modifier
@@ -127,7 +127,6 @@ fun WatchAccountForVideoScreen(videoFeedView: NostrVideoFeedViewModel, accountVi
}
}
@OptIn(ExperimentalFoundationApi::class)
@Composable
private fun SaveableFeedState(
videoFeedView: NostrVideoFeedViewModel,