Mercurial > libervia-desktop-kivy
diff cagou/plugins/plugin_transfer_voice.kv @ 491:203755bbe0fe
massive refactoring from camelCase -> snake_case. See backend commit log for more details
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 08 Apr 2023 13:44:32 +0200 |
parents | 3c9ba4a694ef |
children |
line wrap: on
line diff
--- a/cagou/plugins/plugin_transfer_voice.kv Sat Apr 08 13:34:55 2023 +0200 +++ b/cagou/plugins/plugin_transfer_voice.kv Sat Apr 08 13:44:32 2023 +0200 @@ -47,14 +47,14 @@ allow_stretch: True size_hint: None, None size: dp(60), dp(60) - on_release: root.switchRecording() + on_release: root.switch_recording() IconButton: opacity: 0 if root.recording or not root.time and not root.playing else 1 source: app.expand("{media}/icons/muchoslava/png/") + ("stop_50.png" if root.playing else "play_50.png") allow_stretch: True size_hint: None, None size: dp(60), dp(60) - on_release: root.playRecord() + on_release: root.play_record() Widget Widget: size_hint: 1, None