Skip to content

Commit

Permalink
fix(usage): change video to gif
Browse files Browse the repository at this point in the history
apparently github doesn't allow local videos

Signed-off-by: zyachel <[email protected]>
  • Loading branch information
zyachel committed Jun 8, 2024
1 parent 2bdb6e6 commit d06120f
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 15 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ See [USAGE.md][usage] for instructions.

## To-Do

- [] fix speed going to 0kb/s every other second
- [] add ability to see speed via a persistent notification
- [] show speed in the icon itself
- [] add other fluff
- [] submit app to f-droid
- [ ] fix speed going to 0kb/s every other second
- [ ] add ability to see speed via a persistent notification
- [ ] show speed in the icon itself
- [ ] add other fluff
- [ ] submit app to f-droid

## Credits

Expand Down Expand Up @@ -60,11 +60,7 @@ see <https://www.gnu.org/licenses/>.
<!-- links -->

[tiktok background data usage]: https://old.reddit.com/r/mildlyinfuriating/comments/10j3xj6/why_did_tiktok_use_3gb_of_background_mobile_data/

[github release url]: https://github.com/zyachel/yansm/releases

[usage]: docs/USAGE.md

[network usage]: https://github.com/JahidHasanCO/NetworkUsage

[android docs]: https://developer.android.com/develop/ui/views/quicksettings-tiles
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ android {
applicationId = "me.iket.yansm"
minSdk = 24
targetSdk = 34
versionCode = 1
versionName = "1.0"
versionCode = 2
versionName = "1.0.1"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/me/iket/yansm/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package me.iket.yansm

import android.os.Build

const val linkToDemo = "https://codeberg.org/zyachel/yansm/media/branch/main/docs/media/demo.mp4"
const val linkToDemo = "https://codeberg.org/zyachel/yansm/src/branch/main/docs/USAGE.md"
const val linkToReadme = "https://codeberg.org/zyachel/yansm"
val helperTextForBelowAndroid13 = "Since your device is running on Android SDK ${Build.VERSION.SDK_INT}, you'll have to manually add the tile. Click on 'Watch demo' to see how to do it."
const val helperTextForAndroid13AndAbove = "Could not add tile. Please do so manually. Click on 'Watch demo' to see how to do it."
4 changes: 1 addition & 3 deletions docs/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ From [google answers][google quick settings answer]:

For a visual demo:

<video width="400" controls muted playsinline title="video showing above steps">
<source src="demo.mp4" type="video/mp4">
</video>
![gif showing above steps in action](media/output.gif)

[google quick settings answer]: https://support.google.com/android/answer/9083864
Binary file removed docs/demo.mp4
Binary file not shown.
Binary file added docs/media/output.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d06120f

Please sign in to comment.