Skip to content

Commit c3c0db6

Browse files
committed
fix docs
1 parent 35b4a1e commit c3c0db6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

flipperzero/_dialog.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def dialog_message_set_button(text: str, button: int) -> None:
3131
Set the text of a dialog box button.
3232
3333
:param text: The text to set.
34-
:param button: The button to use (e.g. :const:`flipperzero.INPUT_BUTTON_UP`).
34+
:param button: The button to use (e.g. :const:`INPUT_BUTTON_UP`).
3535
3636
.. versionadded:: 1.0.0
3737
'''
@@ -42,7 +42,7 @@ def dialog_message_show() -> int:
4242
Display the dialog box with the configured settings.
4343
This function is blocking.
4444
45-
:returns: The button code, used to close the dialog box (e.g. :const:`flipperzero.INPUT_BUTTON_OK`)
45+
:returns: The button code, used to close the dialog (e.g. :const:`INPUT_BUTTON_OK`)
4646
4747
.. versionadded:: 1.0.0
4848

flipperzero/_speaker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,14 +773,14 @@
773773
.. versionadded:: 1.2.0
774774
'''
775775

776-
SPEAKER_VOLUME_MIN: float = 0.0
776+
SPEAKER_VOLUME_MIN: float
777777
'''
778778
The minimal volume value.
779779
780780
.. versionadded:: 1.2.0
781781
'''
782782

783-
SPEAKER_VOLUME_MAX: float = 1.0
783+
SPEAKER_VOLUME_MAX: float
784784
'''
785785
The maximum volume value.
786786

0 commit comments

Comments
 (0)