Commit graph

43 commits

Author SHA1 Message Date
andrekir
def08cde75 include resendButton in changes 2022-04-19 16:15:47 -03:00
andrekir
89811d4aa4 cleanup actionmode 2022-04-19 15:10:17 -03:00
wkawecki
7e1e78fb64 meshtastic#73 change icon, bugfixes 2022-04-19 16:01:01 +02:00
wkawecki
6f9f2c4b04 meshtastic#73 'Resend Button' on message selection 2022-04-12 17:00:49 +02:00
andrekir
1bc843897d use keyboard capitalization settings 2022-04-07 23:21:12 -03:00
andrekir
ba2a6e0573 add contacts 2022-04-03 11:25:50 -03:00
andrekir
0b0d82dc76 deleteMessage index by packet id 2022-03-02 11:21:43 -03:00
andrekir
9e00e0fa9f add action mode menu to messages (delete select all) 2022-02-28 15:47:52 -03:00
Mike Cumings
654a32c01c Introduce Hilt dependency injection
Uses Hilt to get the database initialization off of the
main thread.

The initial introduction always has a disproportionate
fan-out of boilerplate. In this case, all entry points which
were using UIViewModel needed to be annotated in order to let
the code gen know that they needed to support it.

The PacketRepository is injected into things via the main
thread (e.g., the MeshService) but due to the lazy declaration,
the database isn't hydrated until the DAO is access while on an
IO thread.
2022-02-08 13:57:04 -08:00
Jackson Rosenthal
93e81e4639 Added delete all messages into the AlertDialog. 2022-01-31 19:11:32 -05:00
Jackson Rosenthal
863426ce6b Deleted commented out code & unused imports 2022-01-29 18:35:24 -05:00
Jackson Rosenthal
2785ab49c3 Deleted commented out code 2022-01-29 18:05:40 -05:00
Jackson Rosenthal
bc0c682eea Added popup to prompt delete when user long presses 2022-01-29 18:00:24 -05:00
Jackson Rosenthal
e27a76633c Delete messages from view by long clicking. Looking into clearing "all messages" & menu for deleting individual messages 2022-01-29 14:31:08 -05:00
Jackson Rosenthal
c08c652d97 Testing click deletion of messages. (Messages still stored after sending new message or connecting to radio) 2022-01-28 21:40:05 -05:00
Andre Kirchhoff
a115392c0f
fix local IME Action call 2021-11-28 16:14:34 -03:00
Kevin Hester
d867c5c85e
Merge branch 'master' into sendButton 2021-11-18 02:02:34 +08:00
andrekir
f4c754e599 Fix: MessagesFragment layout
- fix our messages right margin; received left margin (compare "msg.from" to "^local" to "determine if this is my message (originated on this device)";
- night/colors.xml: changed colorMyMsg to #28463C; (colorMsg & colorMyMsg were the same on Dark theme);
- fix val one_day typo (= 86400000 ms/day);
- if errorMessage --> setCardBackgroundColor(Color.RED).
2021-09-07 22:18:54 -03:00
andrekir
15161862f3 Fix: EditText with textMultiLine & IME_ACTION_SEND 2021-09-05 15:10:02 -03:00
andrekir
5b26714a1e added binding.sendButton.setOnClickListener to MessagesFragment.kt 2021-08-31 11:39:55 -03:00
Kevin Hester
28fec09a54 fix message not allowed to be queued while sleeping (I think) 2021-04-02 13:56:09 +08:00
Kevin Hester
5b653d29f8 reformat per coding conventions 2021-03-29 20:33:06 +08:00
Kevin Hester
dbc91e4ac5 remove deprecations 2021-03-03 08:14:40 +08:00
Kevin Hester
e27a3d937d show alert for old firmware 2021-03-02 15:12:57 +08:00
Vadim Furman
9a13f933b8 Removed observer for myNode, probably not a good idea 2021-01-25 17:50:16 -08:00
Vadim Furman
8ea58fd08c Material design for Message UI 2021-01-25 17:30:21 -08:00
Kevin Hester
2e30dbcdd0 switching away from kotlin-android-extensions 2020-12-07 20:44:17 +08:00
Ludovic Goix
c15e498b08 Add date to message #169 2020-09-23 23:13:35 -04:00
Ludovic Goix
20b06997f0 Use current phone local to format time #74 2020-07-14 00:06:32 -04:00
geeksville
c0e58391a3 Fix problem of old messages not being remembered 2020-07-01 18:00:28 -07:00
geeksville
0b66d813ef message status icons approximately work - still a problem on first send though 2020-05-31 11:23:25 -07:00
geeksville
7506d712ff message status updates are coded but not yet tested. 2020-05-30 19:58:36 -07:00
geeksville
67d95039bf begin support for message status 2020-05-30 14:38:16 -07:00
geeksville
6e261fa35e don't let the user send empty messages 2020-05-15 11:55:32 -07:00
geeksville
5abb56ec3f a better fix for the problem of sending messages while device is asleep
Better just to Observe myId and wait for it to be !null
2020-04-21 20:48:44 -07:00
geeksville
2dd37e791d don't let users try to send texts if we haven't received our node ID
I wanted an and not an or ;-)

Based on the autobug and the great report inhttps://github.com/meshtastic/Meshtastic-esp32/issues/102

I think this should fix the crash described in the messages screen.
2020-04-21 20:29:34 -07:00
geeksville
fdd3b48364 don't let users try to send texts if we don't have a node id 2020-04-19 12:31:27 -07:00
geeksville
69e6b285c6 we now allow changing BLE connection to different meshtastic devices on the fly 2020-04-09 13:28:44 -07:00
geeksville
8c70d5f67d a few more strings 2020-04-09 11:27:42 -07:00
geeksville
5a90a06580 get ready for translations 2020-04-09 11:03:17 -07:00
geeksville
749103cd09 message sending kinda works again 2020-04-08 17:50:23 -07:00
geeksville
29f0435f18 message fragment kinda works 2020-04-08 17:12:39 -07:00
geeksville
e157bb0140 add beginnings of new messages tab 2020-04-08 16:49:27 -07:00