diff options
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" |