chore: rename miniplayer.json to miniplayer.ui

This commit is contained in:
yumoqing 2026-06-22 20:16:32 +08:00
parent 62b0507a1b
commit 49bc681cf7
2 changed files with 2 additions and 2 deletions

View File

@ -139,8 +139,8 @@ struct BricksAppView: View {
}
private func loadJSONString() -> String {
// Resources miniplayer.json
if let url = Bundle.module.url(forResource: "miniplayer", withExtension: "json"),
// Resources miniplayer.ui
if let url = Bundle.module.url(forResource: "miniplayer", withExtension: "ui"),
let data = try? Data(contentsOf: url),
let str = String(data: data, encoding: .utf8) {
return str