Explorar el Código

feat:更新权限文件,修复add to play list

kailen hace 1 mes
padre
commit
776b35c9fd

+ 2 - 0
TSLiveWallpaper.xcodeproj/project.pbxproj

@@ -1623,6 +1623,7 @@
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = TSLiveWallpaper/Info.plist;
 				INFOPLIST_KEY_CFBundleDisplayName = Dmanager;
+				INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This app needs to access your location information while you're using it to provide relevant location services and features. We promise to only obtain your location information when you're using the app and to use it solely for providing services and features.";
 				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Allow us to access Photos in order to save wallpapers to your device.";
 				INFOPLIST_KEY_NSUserTrackingUsageDescription = "It will only be used to measure advertising efficiency without leaking any of your personal information.";
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
@@ -1663,6 +1664,7 @@
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = TSLiveWallpaper/Info.plist;
 				INFOPLIST_KEY_CFBundleDisplayName = Dmanager;
+				INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This app needs to access your location information while you're using it to provide relevant location services and features. We promise to only obtain your location information when you're using the app and to use it solely for providing services and features.";
 				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Allow us to access Photos in order to save wallpapers to your device.";
 				INFOPLIST_KEY_NSUserTrackingUsageDescription = "It will only be used to measure advertising efficiency without leaking any of your personal information.";
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;

+ 1 - 1
TSLiveWallpaper/Business/TSMusic/Helper/CWOperateViewController.swift

@@ -27,7 +27,7 @@ class CWOperateViewController: LWBaseViewController {
     lazy var bgView: UIView = .simpleView(color: .hexColor("#222222"))
     lazy var vStack: UIStackView = .vStack
     lazy var likeItem: CWOperateItemView = .init(imgName: "ic_like_n", title: "Add to like".localized(), type: .like)
-    lazy var addPlaylistItem: CWOperateItemView = .init(imgName: "ic_add_playlist", title: "Add to playlist".localized(), type: .addPlaylist)
+    lazy var addPlaylistItem: CWOperateItemView = .init(imgName: "ic_add_playlist", title: "Add to Playlist".localized(), type: .addPlaylist)
     lazy var removeFromPlaylist: CWOperateItemView = .init(imgName: "ic_remove_playlist", title: "Remove from playlist".localized(), type: .removeFromPlaylist)
     lazy var shareItem: CWOperateItemView = .init(imgName: "ic_share", title: "Share".localized(), type: .share)
     lazy var deleteItem: CWOperateItemView = .init(imgName: "ic_delete", title: "Delete".localized(), type: .deleteVideo)

+ 1 - 1
TSLiveWallpaper/Business/TSMusic/PlayList/Controller/AddPlayListViewController.swift

@@ -26,7 +26,7 @@ class AddPlayListViewController: LWBaseViewController, UITableViewDelegate {
         return tabView
     }()
 
-    lazy var titleLabel: UILabel = .simpleLabel(text: "Add to playlist".localized(), font: .boldSystemFont18, color: .white)
+    lazy var titleLabel: UILabel = .simpleLabel(text: "Add to Playlist".localized(), font: .boldSystemFont18, color: .white)
     lazy var closeButton: UIButton = {
         let btn = UIButton()
         btn.setImage(UIImage(named: "ic-close"), for: .normal)