AK: Port URL scheme from DeprecatedString to String

This commit is contained in:
Shannon Booth
2023-08-12 16:52:41 +12:00
committed by Andrew Kaster
parent 21fe86d235
commit c25485700a
16 changed files with 30 additions and 30 deletions

View File

@@ -486,7 +486,7 @@ void MainWidget::drop_event(GUI::DropEvent& drop_event)
for (auto& url : urls) {
auto& scheme = url.scheme();
if (!scheme.equals_ignoring_ascii_case("file"sv))
if (!scheme.bytes_as_string_view().equals_ignoring_ascii_case("file"sv))
continue;
auto lexical_path = LexicalPath(url.serialize_path());