-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
27 additions
and
354 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
WordPress/Classes/Services/Stories/DisabledVideoOverlay.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import UIKit | ||
|
||
/// An overlay for videos that exceed allowed duration | ||
class DisabledVideoOverlay: UIView { | ||
|
||
static let overlayTransparency: CGFloat = 0.8 | ||
|
||
init() { | ||
super.init(frame: .zero) | ||
backgroundColor = .gray.withAlphaComponent(Self.overlayTransparency) | ||
} | ||
|
||
required init?(coder: NSCoder) { | ||
fatalError("init(coder:) has not been implemented") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 0 additions & 46 deletions
46
WordPress/Classes/ViewRelated/Media/MediaLibraryPicker.swift
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 0 additions & 25 deletions
25
WordPress/Classes/ViewRelated/Media/WPAndDeviceMediaLibraryDataSource.h
This file was deleted.
Oops, something went wrong.
267 changes: 0 additions & 267 deletions
267
WordPress/Classes/ViewRelated/Media/WPAndDeviceMediaLibraryDataSource.m
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.