Skip to content

Commit

Permalink
Merge branch 'master' into mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
dpad85 committed Jul 10, 2024
2 parents e924048 + ebf5681 commit 51ab0d2
Show file tree
Hide file tree
Showing 55 changed files with 1,073 additions and 463 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
object Versions {
const val lightningKmp = "1.7.0"
const val lightningKmp = "1.7.1"
const val secp256k1 = "0.14.0"
const val torMobile = "0.2.0"

Expand Down
4 changes: 2 additions & 2 deletions phoenix-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android {
applicationId = "fr.acinq.phoenix.mainnet"
minSdk = 26
targetSdk = 34
versionCode = 82
versionName = "2.3.1"
versionCode = 83
versionName = gitCommitHash()
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
resourceConfigurations.addAll(listOf("en", "fr", "de", "es", "b+es+419", "cs", "pt-rBR", "sk", "vi"))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,9 @@ fun AppView(
composable(Screen.Contacts.route) {
SettingsContactsView(onBackClick = { navController.popBackStack() })
}
composable(Screen.Experimental.route) {
ExperimentalView(onBackClick = { navController.popBackStack() })
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ sealed class Screen(val route: String) {
data object Notifications: Screen("notifications")
data object Contacts: Screen("settings/contacts")
data object ResetWallet: Screen("settings/resetwallet")
data object Experimental: Screen("settings/experimental")
}

fun NavController.navigate(screen: Screen, arg: List<Any> = emptyList(), builder: NavOptionsBuilder.() -> Unit = {}) {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ fun ContactCompactView(

SplashClickableContent(onClick = { showSheet = true }) {
Row(verticalAlignment = Alignment.CenterVertically) {
ContactPhotoView(photoUri = contact.photoUri, name = contact.name, onChange = null, imageSize = 28.dp, borderSize = 2.dp)
ContactPhotoView(photoUri = contact.photoUri, name = contact.name, onChange = null, imageSize = 28.dp)
Spacer(modifier = Modifier.width(8.dp))
Text(text = contact.name, maxLines = 1, overflow = TextOverflow.Ellipsis)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ fun ContactDetailsView(
horizontalAlignment = Alignment.CenterHorizontally,
) {
if (onContactChange != null) {
ContactPhotoView(photoUri = photoUri, name = contact.name, onChange = { photoUri = it })
ContactPhotoView(photoUri = photoUri, name = contact.name, onChange = { photoUri = it }, borderSize = 4.dp)
} else {
ContactPhotoView(photoUri = photoUri, name = contact.name, onChange = null)
ContactPhotoView(photoUri = photoUri, name = contact.name, onChange = null, borderSize = 4.dp)
}
Spacer(modifier = Modifier.height(24.dp))
TextInput(
Expand Down
Loading

0 comments on commit 51ab0d2

Please sign in to comment.