diff options
Diffstat (limited to 'cashier')
-rw-r--r-- | cashier/build.gradle | 2 | ||||
-rw-r--r-- | cashier/src/main/java/net/taler/cashier/ConfigFragment.kt | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cashier/build.gradle b/cashier/build.gradle index e256396..150e277 100644 --- a/cashier/build.gradle +++ b/cashier/build.gradle @@ -56,7 +56,7 @@ android { dependencies { implementation project(":taler-kotlin-common") implementation 'androidx.constraintlayout:constraintlayout:1.1.3' - implementation 'androidx.security:security-crypto:1.0.0-beta01' + implementation 'androidx.security:security-crypto:1.0.0-rc01' implementation 'com.google.android.material:material:1.1.0' implementation "androidx.navigation:navigation-fragment-ktx:$nav_version" diff --git a/cashier/src/main/java/net/taler/cashier/ConfigFragment.kt b/cashier/src/main/java/net/taler/cashier/ConfigFragment.kt index 501eed7..71495f3 100644 --- a/cashier/src/main/java/net/taler/cashier/ConfigFragment.kt +++ b/cashier/src/main/java/net/taler/cashier/ConfigFragment.kt @@ -132,14 +132,14 @@ class ConfigFragment : Fragment() { findNavController().navigate(action) } ConfigResult.Offline -> { - Snackbar.make(view!!, R.string.config_error_offline, LENGTH_LONG).show() + Snackbar.make(requireView(), R.string.config_error_offline, LENGTH_LONG).show() } is ConfigResult.Error -> { if (result.authError) { - Snackbar.make(view!!, R.string.config_error_auth, LENGTH_LONG).show() + Snackbar.make(requireView(), R.string.config_error_auth, LENGTH_LONG).show() } else { val str = getString(R.string.config_error, result.msg) - Snackbar.make(view!!, str, LENGTH_LONG).show() + Snackbar.make(requireView(), str, LENGTH_LONG).show() } } }.exhaustive |