Skip to content
Snippets Groups Projects
Commit 036e86f9 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Duncan McNamara
Browse files

Allow uppercase extensions for the soundfont picker

Fixes #2948
parent 6e35ac4a
No related branches found
No related tags found
1 merge request!1751Allow uppercase extensions for the soundfont picker
Pipeline #355910 passed with stage
in 20 minutes and 44 seconds
......@@ -569,7 +569,7 @@ fun String.encodeMrlWithTrailingSlash():String {
}
fun Uri?.isSoundFont():Boolean {
this?.lastPathSegment?.let { lastPathSegment ->
this?.lastPathSegment?.lowercase()?.let { lastPathSegment ->
FileUtils.getSoundFontExtensions().forEach {
if (lastPathSegment.endsWith(it)) return true
}
......
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