diff options
author | Torsten Grote <t@grobox.de> | 2020-03-20 16:12:50 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2020-03-20 16:12:50 -0300 |
commit | a690087d82e8b0ee774542d9956698a349408824 (patch) | |
tree | a55f0fd9f95febe722471c70ac574f59bf7f8da7 /cashier | |
parent | db8b71418b766258a7a4bda91e496b1b03cb28cd (diff) | |
download | taler-android-a690087d82e8b0ee774542d9956698a349408824.tar.gz taler-android-a690087d82e8b0ee774542d9956698a349408824.tar.bz2 taler-android-a690087d82e8b0ee774542d9956698a349408824.zip |
Ignore annoying lint errors caused by material design lib
Diffstat (limited to 'cashier')
-rw-r--r-- | cashier/build.gradle | 7 | ||||
-rw-r--r-- | cashier/src/main/java/net/taler/cashier/ConfigFragment.kt | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/cashier/build.gradle b/cashier/build.gradle index 5fe7e16..e256396 100644 --- a/cashier/build.gradle +++ b/cashier/build.gradle @@ -44,6 +44,13 @@ android { jvmTarget = "1.8" } + lintOptions { + abortOnError true + ignoreWarnings false + // TODO remove once com.google.android.material fixed this + // https://github.com/material-components/material-components-android/issues/504 + ignore "WrongConstant" + } } dependencies { diff --git a/cashier/src/main/java/net/taler/cashier/ConfigFragment.kt b/cashier/src/main/java/net/taler/cashier/ConfigFragment.kt index b9a97e5..2225ff6 100644 --- a/cashier/src/main/java/net/taler/cashier/ConfigFragment.kt +++ b/cashier/src/main/java/net/taler/cashier/ConfigFragment.kt @@ -31,8 +31,8 @@ import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import androidx.lifecycle.Observer import androidx.navigation.fragment.findNavController +import com.google.android.material.snackbar.BaseTransientBottomBar.LENGTH_LONG import com.google.android.material.snackbar.Snackbar -import com.google.android.material.snackbar.Snackbar.LENGTH_LONG import kotlinx.android.synthetic.main.fragment_config.* private const val URL_BANK_TEST = "https://bank.test.taler.net" |