Skip to content

Commit 2da66a2

Browse files
PankraSergDeneathmarat-biriushevNaghme98ZFRFM
authored
ci fixes develop to staging (#1203) (#1215)
* test * fix * Update libs.versions.toml * Update libs.versions.toml * Update libs.versions.toml * test * test * Add remote assets sync service * Add new price service * MWR-951 Replaced StartActivityForResult to PickVisualMedia * Flw 5120 cleared 1 (#1212) * flw-5120 * soramitsu foundation as lib, flw-5120, --------- * fix/ui (#1213) * fix history UI * version up * fixes/release (#1214) * fix input background * version code up * nothing to claim warning * 207 * fixed MAX amount button in staking, improve debugging by breakpoints * strings update * stop chosen node from reset * 208 * toc-connect accept urls * build up 209 --------- --------- Signed-off-by: Deneath <[email protected]> Co-authored-by: Denis Lyazgin <[email protected]> Co-authored-by: Marat Biryushev <[email protected]> Co-authored-by: marat-biriushev <[email protected]> Co-authored-by: Naghme98 <[email protected]> Co-authored-by: NaghmeMohammadifar <[email protected]> Co-authored-by: Faimi the Legend Zufarov <[email protected]> Co-authored-by: Faimi Zufarov <[email protected]> Co-authored-by: arvifox <[email protected]>
1 parent b8ff31b commit 2da66a2

File tree

94 files changed

+1279
-1016
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+1279
-1016
lines changed

android-foundation

Submodule android-foundation deleted from c7065d1

app/build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,14 @@ android {
118118

119119
jvmTarget = '17'
120120
}
121+
kotlin {
122+
compilerOptions {
123+
if (System.getProperty("idea.active") == "true") {
124+
println("Enable coroutine debugging")
125+
freeCompilerArgs.add("-Xdebug")
126+
}
127+
}
128+
}
121129
composeOptions {
122130
kotlinCompilerExtensionVersion composeCompilerVersion
123131
}
@@ -139,7 +147,6 @@ play {
139147
}
140148

141149
dependencies {
142-
implementation project(':android-foundation')
143150
implementation fileTree(dir: 'libs', include: ['*.jar'])
144151
implementation project(':core-db')
145152
implementation project(':common')

app/proguard-rules.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@
173173
-dontwarn org.ietf.jgss.GSSName
174174
-dontwarn org.ietf.jgss.Oid
175175

176+
-dontwarn org.apiguardian.api.API$Status
177+
-dontwarn org.apiguardian.api.API
178+
176179
# Retrofit does reflection on generic parameters. InnerClasses is required to use Signature and
177180
# EnclosingMethod is required to use InnerClasses.
178181
-keepattributes Signature, InnerClasses, EnclosingMethod

app/src/main/AndroidManifest.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,18 @@
5353
<category android:name="android.intent.category.DEFAULT" />
5454
<category android:name="android.intent.category.BROWSABLE" />
5555
</intent-filter>
56+
57+
<intent-filter android:autoVerify="true">
58+
<category android:name="android.intent.category.VIEW" />
59+
<category android:name="android.intent.category.DEFAULT" />
60+
<category android:name="android.intent.category.BROWSABLE" />
61+
62+
<!-- Only accept URLs that look like https://fearlesswallet.io/ton-connect/* -->
63+
<data
64+
android:scheme="https"
65+
android:host="fearlesswallet.io"
66+
android:pathPrefix="/ton-connect/" />
67+
</intent-filter>
5668
</activity>
5769

5870
<activity

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ apply plugin: "org.sonarqube"
55
buildscript {
66
ext {
77
// App version
8-
versionName = '3.7.3'
9-
versionCode = 204
8+
versionName = '3.7.4'
9+
versionCode = 209
1010

1111
// SDK and tools
1212
compileSdkVersion = 34

common/build.gradle

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@ dependencies {
144144
implementation libs.progressbutton
145145

146146
implementation libs.nv.websocket.client
147-
implementation libs.xnetworking.basic
148-
implementation libs.xnetworking.fearless, withoutBasic
149-
implementation libs.xnetworking.sorawallet, withoutBasic
147+
implementation libs.xnetworking.lib.android
150148

151149
implementation libs.middle.ellipsis.text
152150

common/src/main/java/jp/co/soramitsu/common/base/BaseComposeFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ abstract class BaseComposeFragment<T : BaseViewModel> : Fragment() {
6363
val modalBottomSheetState: ModalBottomSheetState = rememberModalBottomSheetState(
6464
initialValue = ModalBottomSheetValue.Hidden,
6565
skipHalfExpanded = true,
66-
confirmStateChange = ::hideKeyboardAndConfirm
66+
confirmValueChange = ::hideKeyboardAndConfirm,
6767
)
6868

6969
Background()

common/src/main/java/jp/co/soramitsu/common/compose/component/TextInput.kt

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package jp.co.soramitsu.common.compose.component
33
import androidx.annotation.DrawableRes
44
import androidx.compose.foundation.background
55
import androidx.compose.foundation.interaction.MutableInteractionSource
6+
import androidx.compose.foundation.layout.Arrangement
67
import androidx.compose.foundation.layout.Box
78
import androidx.compose.foundation.layout.Column
89
import androidx.compose.foundation.layout.PaddingValues
@@ -34,6 +35,7 @@ import androidx.compose.ui.tooling.preview.Preview
3435
import androidx.compose.ui.unit.dp
3536
import jp.co.soramitsu.common.R
3637
import jp.co.soramitsu.common.compose.theme.FearlessTheme
38+
import jp.co.soramitsu.common.compose.theme.black
3739
import jp.co.soramitsu.common.compose.theme.black05
3840
import jp.co.soramitsu.common.compose.theme.black2
3941
import jp.co.soramitsu.common.compose.theme.colorAccentDark
@@ -110,7 +112,7 @@ fun TextInput(
110112
singleLine = true,
111113
maxLines = 1,
112114
keyboardOptions = KeyboardOptions(
113-
autoCorrect = false,
115+
autoCorrectEnabled = false,
114116
keyboardType = when (state.mode) {
115117
TextInputViewState.Mode.Text -> KeyboardType.Text
116118
TextInputViewState.Mode.Password -> KeyboardType.Password
@@ -119,7 +121,6 @@ fun TextInput(
119121
),
120122
visualTransformation = visualTransformation,
121123
modifier = Modifier
122-
.background(color = transparent)
123124
.onFocusChanged(onFocusChanged)
124125
.fillMaxWidth(),
125126
cursorBrush = SolidColor(colorAccentDark),
@@ -136,6 +137,9 @@ fun TextInput(
136137
overflow = TextOverflow.Ellipsis
137138
)
138139
},
140+
colors = TextFieldDefaults.textFieldColors(
141+
backgroundColor = transparent
142+
),
139143
singleLine = false,
140144
enabled = true,
141145
contentPadding = PaddingValues(),
@@ -166,9 +170,13 @@ private fun TextInputPreview() {
166170
hint = "Pool name",
167171
endIcon = R.drawable.ic_close_16_circle
168172
)
169-
FearlessTheme {
170-
Column {
171-
TextInput(state, onInput = {})
172-
}
173+
Column(
174+
modifier = Modifier
175+
.background(black)
176+
.padding(6.dp),
177+
verticalArrangement = Arrangement.spacedBy(6.dp)
178+
) {
179+
TextInput(state, onInput = {})
180+
TextInput(state.copy(text = ""), onInput = {})
173181
}
174182
}

common/src/main/java/jp/co/soramitsu/common/data/network/OptionsProvider.kt

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,4 @@ object OptionsProvider {
55
var CURRENT_VERSION_NAME: String = ""
66
var APPLICATION_ID: String = ""
77
var CURRENT_BUILD_TYPE: String = ""
8-
9-
val header: String by lazy {
10-
"$APPLICATION_ID/$CURRENT_VERSION_NAME/$CURRENT_VERSION_CODE/$CURRENT_BUILD_TYPE"
11-
}
12-
13-
const val soraConfigCommon = "https://config.polkaswap2.io/prod/common.json"
14-
const val soraConfigMobile = "https://config.polkaswap2.io/prod/mobile.json"
158
}

common/src/main/java/jp/co/soramitsu/common/data/network/subquery/SubsquidSoraStakingRewards.kt

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)