-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
129334f
commit 94b3097
Showing
27 changed files
with
836 additions
and
464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 6 additions & 2 deletions
8
app/src/main/kotlin/net/primal/android/core/compose/feed/model/ZappingState.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
package net.primal.android.core.compose.feed.model | ||
|
||
import net.primal.android.nostr.model.primal.content.ContentZapConfigItem | ||
import net.primal.android.nostr.model.primal.content.ContentZapDefault | ||
import net.primal.android.nostr.model.primal.content.DEFAULT_ZAP_CONFIG | ||
import net.primal.android.nostr.model.primal.content.DEFAULT_ZAP_DEFAULT | ||
import net.primal.android.user.domain.WalletPreference | ||
|
||
data class ZappingState( | ||
val walletConnected: Boolean = false, | ||
val walletPreference: WalletPreference = WalletPreference.Undefined, | ||
val walletBalanceInBtc: String? = null, | ||
val defaultZapAmount: ULong = 42.toULong(), | ||
val zapOptions: List<ULong> = emptyList(), | ||
val zapDefault: ContentZapDefault = DEFAULT_ZAP_DEFAULT, | ||
val zapsConfig: List<ContentZapConfigItem> = DEFAULT_ZAP_CONFIG, | ||
) |
Oops, something went wrong.