Skip to content

Commit 5c262e9

Browse files
📝 Readme: Add SPI badges
- Add badges generated from Swift Package Index now that package has been published - https://swiftpackageindex.com/superturboryan/ControlKit/information-for-package-maintainers - Remove old badge displaying minimum iOS version - Use correct API Control.Volume.decrease in usage example - Remove empty line from usage example - Update wording in top description
1 parent e4c3d70 commit 5c262e9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
# ControlKit
55

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.
77

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)
99

1010
### TLDR
1111

@@ -58,7 +58,7 @@ You must provide an object conforming to **`DAO<String>`** if you want the acces
5858
import Control
5959

6060
// 🔊 Decrement system volume
61-
Control.Volume.decreaseVolume()
61+
Control.Volume.decrease()
6262

6363
// 🕵️‍♂️ Check if audio is being played (by another app)
6464
if Control.Playback.isAudioPlaying {
@@ -104,7 +104,6 @@ import SwiftUI
104104

105105
// Secrets.swift 🔐
106106
// Don't forget to gitignore this 🙈
107-
108107
enum Secrets {
109108
static let clientID = "<your client id>"
110109
}

0 commit comments

Comments
 (0)