Mercurial > libervia-desktop-kivy
comparison cagou/core/platform_/android.py @ 413:c466678c57b2
chat: control send button visibility in core.platform_, and show it when there are attachments
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 23 Feb 2020 15:39:06 +0100 |
parents | b0af45a92055 |
children | b51c10cc7325 |
comparison
equal
deleted
inserted
replaced
412:7c6149c249c1 | 413:c466678c57b2 |
---|---|
69 SOCKET_FILE = ".socket" | 69 SOCKET_FILE = ".socket" |
70 INTENT_EXTRA_ACTION = AndroidString("org.salut-a-toi.IntentAction") | 70 INTENT_EXTRA_ACTION = AndroidString("org.salut-a-toi.IntentAction") |
71 | 71 |
72 | 72 |
73 class Platform(BasePlatform): | 73 class Platform(BasePlatform): |
74 send_button_visible = True | |
74 | 75 |
75 def __init__(self): | 76 def __init__(self): |
76 super().__init__() | 77 super().__init__() |
77 # cache for callbacks to run when profile is plugged | 78 # cache for callbacks to run when profile is plugged |
78 self.cache = [] | 79 self.cache = [] |