Skip to content
This repository was archived by the owner on Dec 11, 2023. It is now read-only.

Commit 2b93235

Browse files
authored
Merge pull request #32 from nnsnodnb/develop
20180404_2
2 parents 6049e6f + 637cdd2 commit 2b93235

File tree

5 files changed

+10
-13
lines changed

5 files changed

+10
-13
lines changed

NowPlaying.xcodeproj/xcshareddata/xcschemes/NowPlaying.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0910"
3+
LastUpgradeVersion = "0920"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

NowPlaying/Resources/Settings.bundle/com.mono0926.LicensePlist.latest_result.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 3.10.1
44

55
name: Fabric, nameSpecified:
66
body: Fabric: Copyright 20…
7-
version: 1.7.5
7+
version: 1.7.6
88

99
name: Firebase, nameSpecified:
1010
body: Copyright 2017 Googl…

NowPlaying/Resources/Settings.bundle/com.mono0926.LicensePlist.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<key>File</key>
4141
<string>com.mono0926.LicensePlist/Fabric</string>
4242
<key>Title</key>
43-
<string>Fabric (1.7.5)</string>
43+
<string>Fabric (1.7.6)</string>
4444
<key>Type</key>
4545
<string>PSChildPaneSpecifier</string>
4646
</dict>

NowPlaying/Scripts/ViewController/Play/PlayViewController.swift

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// Copyright © 2017年 Oka Yuya. All rights reserved.
77
//
88

9+
import Foundation
910
import UIKit
1011
import MediaPlayer
1112
import TwitterKit
@@ -247,17 +248,13 @@ class PlayViewController: UIViewController {
247248
dateFormatter.timeZone = NSTimeZone.system
248249
dateFormatter.locale = Locale(identifier: "en_US_POSIX")
249250
dateFormatter.dateFormat = "yyyy-MM-dd"
250-
let untilFreePurchaseDate = dateFormatter.date(from: "2018-04-20")!
251-
if untilFreePurchaseDate < Date() {
251+
if let untilFreePurchaseDate = dateFormatter.date(from: "2018-04-20"), untilFreePurchaseDate < Date() {
252252
return
253253
}
254-
let alert = UIAlertController(title: "自動ツイートについてのお知らせ", message: "自動ツイートの機能のみ課金制になりました。なお2018年4月20日までに設定画面より無料で入手することが可能です。お試しください。", preferredStyle: .alert)
255-
let tryAction = UIAlertAction(title: "試す", style: .default) { [unowned self] (_) in
256-
self.onTapGearButton(nil)
257-
}
258-
alert.addAction(tryAction)
259-
alert.addAction(UIAlertAction(title: "あとで", style: .cancel, handler: nil))
260-
alert.preferredAction = tryAction
254+
let alert = UIAlertController(title: "自動ツイートについてのお知らせ",
255+
message: "自動ツイートの機能のみ課金制になりました。なお2018年4月20日までに設定画面より無料で入手することが可能です。お試しください。",
256+
preferredStyle: .alert)
257+
alert.addAction(UIAlertAction(title: "OK", style: .default, handler: nil))
261258
DispatchQueue.main.async { [unowned self] in
262259
self.present(alert, animated: true) {
263260
UserDefaults.standard.set(true, forKey: UserDefaultsKey.update2_1_0.rawValue)

NowPlaying/Scripts/ViewController/Setting/SettingViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ class SettingViewController: FormViewController {
363363
cell.textLabel?.textAlignment = .left
364364
cell.textLabel?.textColor = UIColor.black
365365
cell.accessoryType = .disclosureIndicator
366-
}).onCellSelection({ [unowned self] (cell, row) in
366+
}).onCellSelection({ (cell, row) in
367367
Analytics.logEvent("tap", parameters: [
368368
"type": "action",
369369
"button": "appstore_review",

0 commit comments

Comments
 (0)