-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Persistance logic - if Settings.firstLaunch is true. Onboarding screen will be shown. - On viewing all slides in Onboarding screen, Settings.firstLanuch is persisted to false - Multi screen wizard transitions. Replaced slide with fadeIn/Out - Multi screen wizard Topbar.Progressbar fixed - Rounded btc display to 8 decimals (KMP logic. Platform specific implementation * Create Offer - 2 screens and various minor updates; - BispGap - Button - Custom text component - CurrencyProfileCard - Selectable - Multiscreen wizard - Can make use of both Scroll and Static Scaffolds now. Whichever screen needs to use LazyColumn, can now maje use of static - Btc - sats display (partial) * - Create offer UI 2/3 * - GettingStarted Interface * - delete unnecessary appleMain dir --------- Co-authored-by: Rodrigo Varela <[email protected]>
- Loading branch information
1 parent
bdcefd6
commit e38b9e2
Showing
58 changed files
with
1,841 additions
and
130 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
5 changes: 3 additions & 2 deletions
5
...droidMain/kotlin/network/bisq/mobile/android/node/presentation/OnBoardingNodePresenter.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,12 @@ | ||
package network.bisq.mobile.android.node.presentation | ||
|
||
import network.bisq.mobile.domain.data.repository.SettingsRepository | ||
import network.bisq.mobile.presentation.MainPresenter | ||
import network.bisq.mobile.presentation.ui.uicases.startup.IOnboardingPresenter | ||
import network.bisq.mobile.presentation.ui.uicases.startup.OnBoardingPresenter | ||
|
||
class OnBoardingNodePresenter( | ||
mainPresenter: MainPresenter | ||
) : OnBoardingPresenter(mainPresenter), IOnboardingPresenter { | ||
mainPresenter: MainPresenter, settingsRepository: SettingsRepository | ||
) : OnBoardingPresenter(mainPresenter, settingsRepository), IOnboardingPresenter { | ||
override val indexesToShow = listOf(1, 2) | ||
} |
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: 8 additions & 0 deletions
8
...androidMain/kotlin/network/bisq/mobile/presentation/ui/helpers/NumberFormatter.android.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package network.bisq.mobile.presentation.ui.helpers | ||
|
||
import java.text.DecimalFormat | ||
|
||
actual val numberFormatter: NumberFormatter = object : NumberFormatter { | ||
private val formatter = DecimalFormat("#.########") | ||
override fun satsFormat(value: Double): String = formatter.format(value) | ||
} |
Binary file added
BIN
+337 Bytes
shared/presentation/src/commonMain/composeResources/drawable/icon_info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,5 @@ data class CommonStrings( | |
val offers_list_sell_to: String, | ||
|
||
val take_offer: String, | ||
val currency: String, | ||
) |
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
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
38 changes: 38 additions & 0 deletions
38
...ntation/src/commonMain/kotlin/network/bisq/mobile/presentation/ui/components/atoms/Gap.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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package network.bisq.mobile.presentation.ui.components.atoms | ||
|
||
import androidx.compose.foundation.layout.Spacer | ||
import androidx.compose.foundation.layout.height | ||
import androidx.compose.foundation.layout.width | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.Modifier | ||
import network.bisq.mobile.presentation.ui.theme.BisqUIConstants | ||
|
||
object BisqGap { | ||
|
||
@Composable() | ||
fun V1() { | ||
Spacer(modifier = Modifier.height(BisqUIConstants.ScreenPadding)) | ||
} | ||
|
||
@Composable() | ||
fun V2() { | ||
Spacer(modifier = Modifier.height(BisqUIConstants.ScreenPadding2X)) | ||
} | ||
|
||
@Composable() | ||
fun V3() { | ||
Spacer(modifier = Modifier.height(BisqUIConstants.ScreenPadding3X)) | ||
} | ||
|
||
@Composable() | ||
fun V4() { | ||
Spacer(modifier = Modifier.height(BisqUIConstants.ScreenPadding4X)) | ||
} | ||
|
||
@Composable() | ||
fun H1() { | ||
Spacer(modifier = Modifier.width(BisqUIConstants.ScreenPadding)) | ||
} | ||
|
||
} | ||
|
Oops, something went wrong.