forked from zelo72/mastodon-ios
fix: text strip wrong color in the Dark Mode issue
This commit is contained in:
parent
a651b30674
commit
d1441aee8c
|
@ -5066,7 +5066,7 @@
|
|||
repositoryURL = "https://github.com/TwidereProject/MetaTextKit.git";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = 2.2.0;
|
||||
version = 2.2.1;
|
||||
};
|
||||
};
|
||||
DB0E2D2C26833FF600865C3C /* XCRemoteSwiftPackageReference "Nuke-FLAnimatedImage-Plugin" */ = {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<key>AppShared.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>26</integer>
|
||||
<integer>30</integer>
|
||||
</dict>
|
||||
<key>CoreDataStack.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
|
@ -97,7 +97,7 @@
|
|||
<key>MastodonIntent.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>27</integer>
|
||||
<integer>31</integer>
|
||||
</dict>
|
||||
<key>MastodonIntents.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
|
@ -117,7 +117,7 @@
|
|||
<key>ShareActionExtension.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>25</integer>
|
||||
<integer>29</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>SuppressBuildableAutocreation</key>
|
||||
|
|
|
@ -87,8 +87,8 @@
|
|||
"repositoryURL": "https://github.com/TwidereProject/MetaTextKit.git",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "2e91906221ee154656a34513604c6d3349dced4c",
|
||||
"version": "2.2.0"
|
||||
"revision": "3ea336d3de7938dc112084c596a646e697b0feee",
|
||||
"version": "2.2.1"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -19,7 +19,6 @@ final class MediaPreviewVideoViewController: UIViewController {
|
|||
var viewModel: MediaPreviewVideoViewModel!
|
||||
|
||||
let playerViewController = AVPlayerViewController()
|
||||
// var pictureInPictureController: AVPictureInPictureController?
|
||||
|
||||
let previewImageView = UIImageView()
|
||||
|
||||
|
|
|
@ -273,9 +273,7 @@ extension StatusView {
|
|||
viewModel.isMediaSensitive = status.sensitive && !status.attachments.isEmpty // some servers set media sensitive even empty attachments
|
||||
|
||||
let configurations = MediaView.configuration(status: status)
|
||||
if viewModel.mediaViewConfigurations != configurations {
|
||||
viewModel.mediaViewConfigurations = configurations
|
||||
}
|
||||
viewModel.mediaViewConfigurations = configurations
|
||||
|
||||
status.publisher(for: \.isMediaSensitiveToggled)
|
||||
.assign(to: \.isMediaSensitiveToggled, on: viewModel)
|
||||
|
|
|
@ -32,7 +32,7 @@ let package = Package(
|
|||
.package(url: "https://github.com/apple/swift-nio.git", from: "1.0.0"),
|
||||
.package(url: "https://github.com/kean/Nuke.git", from: "10.3.1"),
|
||||
.package(url: "https://github.com/Flipboard/FLAnimatedImage.git", from: "1.0.0"),
|
||||
.package(url: "https://github.com/TwidereProject/MetaTextKit.git", .exact("2.2.0")),
|
||||
.package(url: "https://github.com/TwidereProject/MetaTextKit.git", .exact("2.2.1")),
|
||||
.package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.4.0"),
|
||||
.package(url: "https://github.com/Alamofire/AlamofireImage.git", from: "4.1.0"),
|
||||
.package(name: "NukeFLAnimatedImagePlugin", url: "https://github.com/kean/Nuke-FLAnimatedImage-Plugin.git", from: "8.0.0"),
|
||||
|
|
Loading…
Reference in New Issue