gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-android] branch master updated: [wallet] Upgrade more libra


From: gnunet
Subject: [taler-taler-android] branch master updated: [wallet] Upgrade more libraries to fix lint checks
Date: Tue, 01 Nov 2022 19:18:56 +0100

This is an automated email from the git hooks/post-receive script.

torsten-grote pushed a commit to branch master
in repository taler-android.

The following commit(s) were added to refs/heads/master by this push:
     new 3a66624  [wallet] Upgrade more libraries to fix lint checks
3a66624 is described below

commit 3a6662437dd0a017d6d75ea59eda8524e6fb58e9
Author: Torsten Grote <t@grobox.de>
AuthorDate: Tue Nov 1 13:51:02 2022 -0300

    [wallet] Upgrade more libraries to fix lint checks
---
 cashier/build.gradle                                       |  2 +-
 merchant-terminal/build.gradle                             |  3 +--
 taler-kotlin-android/build.gradle                          |  9 +++------
 wallet/src/main/java/net/taler/wallet/SendFundsFragment.kt | 12 +++++++-----
 4 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/cashier/build.gradle b/cashier/build.gradle
index 7d5116a..cd64be5 100644
--- a/cashier/build.gradle
+++ b/cashier/build.gradle
@@ -22,7 +22,7 @@ plugins {
 }
 
 android {
-    compileSdkVersion 32
+    compileSdkVersion 33
     //noinspection GradleDependency
     buildToolsVersion "$build_tools_version"
 
diff --git a/merchant-terminal/build.gradle b/merchant-terminal/build.gradle
index 00fe568..b4a2781 100644
--- a/merchant-terminal/build.gradle
+++ b/merchant-terminal/build.gradle
@@ -6,7 +6,7 @@ plugins {
 }
 
 android {
-    compileSdkVersion 32
+    compileSdkVersion 33
     //noinspection GradleDependency
     buildToolsVersion "$build_tools_version"
 
@@ -54,7 +54,6 @@ android {
         }
     }
 
-
     lint {
         abortOnError true
         ignore 'WrongConstant'
diff --git a/taler-kotlin-android/build.gradle 
b/taler-kotlin-android/build.gradle
index bb68992..69d2b75 100644
--- a/taler-kotlin-android/build.gradle
+++ b/taler-kotlin-android/build.gradle
@@ -57,8 +57,8 @@ android {
 }
 
 dependencies {
-    implementation 'androidx.appcompat:appcompat:1.5.0'
-    implementation 'androidx.core:core-ktx:1.8.0'
+    implementation 'androidx.appcompat:appcompat:1.5.1'
+    implementation 'androidx.core:core-ktx:1.9.0'
     implementation 
"androidx.constraintlayout:constraintlayout:$constraintlayout_version"
 
     // Navigation
@@ -72,10 +72,7 @@ dependencies {
     implementation 'com.google.zxing:core:3.5.0'  // needs minSdkVersion 24+ 
or desugar
 
     // JSON parsing and serialization
-    api 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3'
-
-    api 'com.github.thirdegg:lint-rules:0.1.0'
-
+    api 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.0'
     testImplementation "junit:junit:$junit_version"
     testImplementation 'org.json:json:20220320'
 }
diff --git a/wallet/src/main/java/net/taler/wallet/SendFundsFragment.kt 
b/wallet/src/main/java/net/taler/wallet/SendFundsFragment.kt
index d6f7280..bb903c3 100644
--- a/wallet/src/main/java/net/taler/wallet/SendFundsFragment.kt
+++ b/wallet/src/main/java/net/taler/wallet/SendFundsFragment.kt
@@ -59,17 +59,19 @@ class SendFundsFragment : Fragment() {
     private val peerManager get() = model.peerManager
 
     override fun onCreateView(
-        inflater: LayoutInflater, container: ViewGroup?,
+        inflater: LayoutInflater,
+        container: ViewGroup?,
         savedInstanceState: Bundle?,
     ): View = ComposeView(requireContext()).apply {
         setContent {
             MdcTheme {
                 Surface {
                     SendFundsIntro(
-                        model.transactionManager.selectedCurrency ?: error("No 
currency selected"),
-                        model::hasSufficientBalance,
-                        this@SendFundsFragment::onDeposit,
-                        this@SendFundsFragment::onPeerPush,
+                        currency = model.transactionManager.selectedCurrency
+                            ?: error("No currency selected"),
+                        hasSufficientBalance = model::hasSufficientBalance,
+                        onDeposit = this@SendFundsFragment::onDeposit,
+                        onPeerPush = this@SendFundsFragment::onPeerPush,
                     )
                 }
             }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]