Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
Remove empty primary constructor (#124)
Browse files Browse the repository at this point in the history
* Remove empty primary constructor

* Update pubspec.yaml

* Update CHANGELOG.md

Co-authored-by: creativecreatorormaybenot <[email protected]>
  • Loading branch information
michalsrutek and creativecreatorormaybenot authored Aug 4, 2021
1 parent 9683a55 commit 6d6f8ee
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions wakelock/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.3+2

* Removed empty constructor in Android code.

## 0.5.3+1

* Addded mavenCentral to Gradle build.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ internal class Wakelock {
}
}

class NoActivityException() : Exception("wakelock requires a foreground activity")
class NoActivityException : Exception("wakelock requires a foreground activity")
2 changes: 1 addition & 1 deletion wakelock/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: wakelock
description: >-2
Plugin that allows you to keep the device screen awake, i.e. prevent the screen from sleeping on
Android, iOS, macOS, Windows, and web.
version: 0.5.3+1
version: 0.5.3+2
homepage: https://github.com/creativecreatorormaybenot/wakelock/tree/master/wakelock

environment:
Expand Down

0 comments on commit 6d6f8ee

Please sign in to comment.