Skip to content
Snippets Groups Projects
Commit 9897d71d authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix IllegalArgumentException

parent 6131a690
Branches 3.1.x
Tags 3.1.7
1 merge request!6353.3 fixes
......@@ -118,7 +118,7 @@ object MediaUtils {
if (it is AudioPlayerContainerActivity) {
Snackbar.make(it.appBarLayout, text, Snackbar.LENGTH_LONG).show()
} else
Snackbar.make(it.findViewById(R.id.appbar), text, Snackbar.LENGTH_LONG).show()
Snackbar.make(it.findViewById(android.R.id.content), text, Snackbar.LENGTH_LONG).show()
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment