mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 15:30:59 +00:00
cleanup
This commit is contained in:
parent
e165b53ef2
commit
205255b916
1 changed files with 0 additions and 1 deletions
|
@ -10,7 +10,6 @@ class VolumeKeysNotifier extends ChangeNotifier with RouteAware {
|
|||
VolumeKey _value = VolumeKey.up;
|
||||
|
||||
VolumeKeysNotifier(this.volumeEventsService) {
|
||||
// TODO: add RouteObserver and disable overriden action if SettingScreen is opened
|
||||
_volumeKeysSubscription = volumeEventsService
|
||||
.volumeButtonsEventStream()
|
||||
.map((event) => event == 24 ? VolumeKey.up : VolumeKey.down)
|
||||
|
|
Loading…
Reference in a new issue