react-native-mytatva-rn-sdk 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -90,7 +90,7 @@ class ConnectSensorActivity : BaseBleActivity() {
90
90
  max(systemBars.bottom, ime.bottom)
91
91
  )
92
92
  if (isManualInputVisible && ime.bottom > 0) {
93
- binding.scrollMain.post { scrollToManualConnectButton() }
93
+ binding.connectSensorScroll.post { scrollToManualConnectButton() }
94
94
  }
95
95
  insets
96
96
  }
@@ -166,12 +166,12 @@ class ConnectSensorActivity : BaseBleActivity() {
166
166
  }
167
167
 
168
168
  binding.etSensorId.setOnClickListener {
169
- binding.scrollMain.postDelayed({ scrollToManualConnectButton() }, 100)
169
+ binding.connectSensorScroll.postDelayed({ scrollToManualConnectButton() }, 100)
170
170
  }
171
171
 
172
172
  binding.etSensorId.setOnFocusChangeListener { _, hasFocus ->
173
173
  if (hasFocus) {
174
- binding.scrollMain.postDelayed({ scrollToManualConnectButton() }, 300)
174
+ binding.connectSensorScroll.postDelayed({ scrollToManualConnectButton() }, 300)
175
175
  }
176
176
  }
177
177
 
@@ -207,8 +207,8 @@ class ConnectSensorActivity : BaseBleActivity() {
207
207
  return
208
208
  }
209
209
 
210
- binding.scrollMain.post {
211
- val scrollView = binding.scrollMain
210
+ binding.connectSensorScroll.post {
211
+ val scrollView = binding.connectSensorScroll
212
212
  val connectButton = binding.btnConnectManual
213
213
 
214
214
  val buttonLocation = IntArray(2)
@@ -239,7 +239,7 @@ class ConnectSensorActivity : BaseBleActivity() {
239
239
  binding.tvEnterIdManually.text = "Scan QR"
240
240
  binding.etSensorId.text?.clear()
241
241
  updateManualConnectButtonState()
242
- binding.scrollMain.post { scrollToManualConnectButton() }
242
+ binding.connectSensorScroll.post { scrollToManualConnectButton() }
243
243
  } else {
244
244
  binding.clManualInput.visibility = View.GONE
245
245
  binding.clPermission.visibility = View.VISIBLE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-mytatva-rn-sdk",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "a package to inject data into visit health pwa",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",