style: change temporary debug name
This commit is contained in:
parent
16e346c0b1
commit
1597d7f7c8
@ -236,7 +236,7 @@ enum RCTVideoUtils {
|
|||||||
static func createEmptyVttFile() -> TextTrack? {
|
static func createEmptyVttFile() -> TextTrack? {
|
||||||
let fileManager = FileManager.default
|
let fileManager = FileManager.default
|
||||||
let cachesDirectoryUrl = fileManager.urls(for: .cachesDirectory, in: .userDomainMask)[0]
|
let cachesDirectoryUrl = fileManager.urls(for: .cachesDirectory, in: .userDomainMask)[0]
|
||||||
let filePath = cachesDirectoryUrl.appendingPathComponent("kaas.vtt").path
|
let filePath = cachesDirectoryUrl.appendingPathComponent("empty.vtt").path
|
||||||
|
|
||||||
if !fileManager.fileExists(atPath: filePath) {
|
if !fileManager.fileExists(atPath: filePath) {
|
||||||
let stringToWrite = "WEBVTT\n\n1\n99:59:59.000 --> 99:59:59.001\n."
|
let stringToWrite = "WEBVTT\n\n1\n99:59:59.000 --> 99:59:59.001\n."
|
||||||
|
Loading…
Reference in New Issue
Block a user