We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18149e6 commit 382af1bCopy full SHA for 382af1b
presentation/src/main/java/org/cryptomator/presentation/ui/layout/ArcAwareCoordinatorLayout.kt
@@ -35,7 +35,11 @@ class ArcAwareCoordinatorLayout : CoordinatorLayout {
35
override fun dispatchDraw(canvas: Canvas) {
36
super.dispatchDraw(canvas)
37
if (findViewById<View>(R.id.rl_creation_hint).visibility == VISIBLE) {
38
- drawArcFromHintToFloatingActionButton(canvas)
+ try {
39
+ drawArcFromHintToFloatingActionButton(canvas)
40
+ } catch (e: IllegalArgumentException) {
41
+ Timber.tag("ArcAwareCoordinatorLayout").e(e, "Failed to draw Arc.")
42
+ }
43
}
44
45
0 commit comments