File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
# ControlKit
5
5
6
- ** ControlKit** is a minimal Swift Package enabling control of media playback and system volume.
6
+ ** ControlKit** is a minimal Swift Package enabling control of media playback and device volume.
7
7
8
- ![ Minimum iOS Version ] ( https://img.shields.io/badge/%F0%9F%93%B1%20iOS-15%2B-blue.svg ) ![ Build Status] ( https://github.com/superturboryan/ControlKit/workflows/%F0%9F%A7%A9%20Build%20Package/badge.svg ) ![ Lint] ( https://github.com/superturboryan/ControlKit/workflows/%F0%9F%A7%B9%20Lint/badge.svg ) ![ Contributors] ( https://img.shields.io/github/contributors/superturboryan/ci-playground )
8
+ [ ![ ] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsuperturboryan%2FControlKit%2Fbadge%3Ftype%3Dplatforms )] ( https://swiftpackageindex.com/superturboryan/ControlKit ) [ ![ ] ( https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fsuperturboryan%2FControlKit%2Fbadge%3Ftype%3Dswift-versions )] ( https://swiftpackageindex.com/superturboryan/ControlKit ) ![ Build Status] ( https://github.com/superturboryan/ControlKit/workflows/%F0%9F%A7%A9%20Build%20Package/badge.svg ) ![ Lint] ( https://github.com/superturboryan/ControlKit/workflows/%F0%9F%A7%B9%20Lint/badge.svg ) ![ Contributors] ( https://img.shields.io/github/contributors/superturboryan/ci-playground )
9
9
10
10
### TLDR
11
11
@@ -58,7 +58,7 @@ You must provide an object conforming to **`DAO<String>`** if you want the acces
58
58
import Control
59
59
60
60
// 🔊 Decrement system volume
61
- Control.Volume .decreaseVolume ()
61
+ Control.Volume .decrease ()
62
62
63
63
// 🕵️♂️ Check if audio is being played (by another app)
64
64
if Control.Playback.isAudioPlaying {
@@ -104,7 +104,6 @@ import SwiftUI
104
104
105
105
// Secrets.swift 🔐
106
106
// Don't forget to gitignore this 🙈
107
-
108
107
enum Secrets {
109
108
static let clientID = " <your client id>"
110
109
}
You can’t perform that action at this time.
0 commit comments