Commit Graph

3188 Commits

Author SHA1 Message Date
adbenitez 2d3d567f12 add preview-apk workflow 2021-01-22 16:02:04 -05:00
B. Petersen 5371f312ac remove unused isIoRunning() api
the api is about to be removed from core as well,
see https://github.com/deltachat/deltachat-core-rust/pull/2139
2021-01-15 06:49:39 +03:00
B. Petersen 5a2d742bdf update translations 2021-01-11 17:44:53 +01:00
B. Petersen b024c17f66 update deltachat-core-rust submodule 2021-01-11 17:42:34 +01:00
Hocuri a96aa2ff48 Show controls on small screens
Using both `setMessage()` and `setView()` on the same AlertDialog,
on small screens the "OK" and "Cancel" buttons were not be show. So, put the
message into our custom view.
2021-01-03 12:25:53 +01:00
B. Petersen 971c7e1d68 update translations 2020-12-27 16:46:24 +01:00
B. Petersen 88f706f95b bump version to beta-series, mark version as such 2020-12-22 14:44:54 +01:00
B. Petersen fa80ede3ac update translations 2020-12-22 13:55:58 +01:00
bjoern c0027d750a Merge pull request #1758 from deltachat/darkmode-follow-system
Dark theme / DayNight: Add option to follow system
2020-12-22 13:22:42 +01:00
B. Petersen 5c034c6e59 add comments in duplicated files 2020-12-22 13:22:05 +01:00
Hocuri 1ff6a3a18d Dark theme / DayNight: Add option to follow system
fix maybe #1748. Maybe not, because actually I don't understand why
issue #1748 even happened because we don't use the system background for
the bubble but an own one (see conversation_item_sent.xml:50). Probably
the system is somehow trying to forcefully create a dark mode.

So, let's see whether this PR fixes the issue, if not, I'll try again.
2020-12-19 19:51:55 +01:00
B. Petersen 450442ef60 update translations 2020-12-19 16:04:44 +01:00
Hocuri cfea049418 Always release the media player before setting it to 0
I can't tell if it helps, I personally was able to both play a 60min
audio and to play 32 voice messages after each other. Shouldn't hurt to
release them, though.

I tested my change, and at least it seems not to worsen anything.
2020-12-19 12:07:06 +01:00
bjoern b8ca7ed00d Merge pull request #1754 from deltachat/add-missing-button
add missing button to new error-dialog
2020-12-14 22:04:35 +01:00
B. Petersen f608fe0766 add missing button to new error-dialog
following common ui expectations,
there must always be at least one "ok" button
in a dialog or alert.
2020-12-14 13:16:24 +01:00
Hocuri 45aa3e5b82 Directly show error on msg tap
fix #1749
2020-12-13 18:06:44 +01:00
bjoern 827cd4092a Merge pull request #1752 from deltachat/more-visible-error-icon
Red and more visible error icon
2020-12-13 11:55:16 +01:00
B. Petersen eaf95ed1e3 make icon slightly smaller so that it does not grow the height of the delivery-line 2020-12-13 01:26:41 +01:00
Hocuri 8736ac8fa9 Reset the tint if the message is not failed
Seems like in the first commit I was not careful enough: The color was
set to red, but then the view was reused in a RecyclerView and the color
stayed red. Therefore, after scrolling, more and more of the status icons got
red.
2020-12-12 17:40:44 +01:00
Hocuri 161e1d350b Red and more visible error icon
IIRC some time ago we talked about making the error icon red and make it
an exclamation mark to make it more visible.

Today someone complained to me that they thought the "x" looks like one
can close something and that it shouldn't be green, so I went ahead and
made it red :) (it's also a little bit bigger now)

- the image file is a vector (xml) file now, previously it was a png file.
Might this be a problem?
2020-12-12 16:44:52 +01:00
B. Petersen 0ebee38b99 update translations 2020-12-10 16:08:19 +01:00
bjoern dd34ed0ff6 Merge pull request #1702 from deltachat/handle-sendto-email-intents
Handle sendto intents with ShareActivity, not NewConversationActivity
2020-12-10 00:53:02 +01:00
Hocuri 438a3aaa43 Handle sendto intents with ShareActivity, not NewConversationActivity 2020-12-09 23:53:10 +01:00
B. Petersen 0f46824ec0 tweak universal_overlay color for black background
the color 'universal_overlay' can be used as backgrounds for
semi-transparent overlays.

the color guarantees enough contrast to white/light things drawn on it,
while still letting the background shine through.

the color is the same for both, dark and lite theme
as it is also used to draw on customized backgrounds
(where we can have any background anyway)

before, the shaped formed with this color are not visible
on black background, this is fixed by this commit,
making the color even more universal.

this is an improvement for the image-editor buttons
as well as for the info-messages on arbitrary backgrounds.
2020-12-05 19:56:37 +01:00
Hocuri 3abaabb38a Put a black circle behind the edit options when editing an image 2020-12-05 19:56:37 +01:00
Hocuri 26c8497509 Fix crash on some device of some friend of Holger 2020-12-04 17:40:32 +01:00
B. Petersen 107357d6c0 update translations 2020-12-03 15:38:53 +01:00
bjoern 1cc0c9d0c1 Merge pull request #1688 from deltachat/fix-tall-images-message-width
Wider messages for tall images
2020-12-01 13:29:43 +01:00
B. Petersen f99d9daa49 update translations, add a fix for unescaped '&' entity 2020-12-01 11:44:25 +01:00
B. Petersen c75622605a update translations 2020-11-30 16:29:31 +01:00
bjoern 321e4c4dab Merge pull request #1732 from deltachat/show-in-chat
add 'show in chat' function, fix enlarge-view-menu-issues
2020-11-28 23:39:59 +01:00
B. Petersen 089dd9a924 update translations 2020-11-27 13:16:16 +01:00
bjoern 7f37d93916 Merge pull request #1744 from deltachat/quote-forwarded-msgs
display forwarded messages also in quotes as such
2020-11-27 13:05:19 +01:00
bjoern b7c1fbd2b4 Merge pull request #1741 from deltachat/blocked-contacts-hint
show hint if there are no blocked contacts
2020-11-27 13:04:50 +01:00
B. Petersen 12e4d6b30e introduce color 'unknown_sender' and use it for forwarded messages, forwarded quotes, quotes with unknown sender 2020-11-25 20:57:46 +01:00
B. Petersen d4ef19b9cf remove dead code 2020-11-25 10:45:41 +01:00
B. Petersen e2c930c895 remove unused @string/contacts_empty_hint from xml and add a tools:text hint instead 2020-11-23 14:12:55 +01:00
B. Petersen b284a70ef7 reword no-blocked-contats-hint 2020-11-22 23:06:00 +01:00
B. Petersen ed9921f40e show hint when there are no blocked contacts 2020-11-22 23:06:00 +01:00
B. Petersen 68961fdcd7 remove unused SwipeRefreshLayout and use self-explaining default for contact-list-empty-hint 2020-11-22 22:16:13 +01:00
bjoern 1cfb70cb5b Merge pull request #1740 from deltachat/non-rouned-corners
Remove rounded corners if the message has a quote
2020-11-21 22:22:13 +01:00
Hocuri 0f2c3f4791 Remove rounded corners if the message has a quote 2020-11-21 17:19:20 +01:00
B. Petersen cacbdd7c4f 'all media' just opens the gallery, better call it as such 2020-11-20 13:20:39 +01:00
B. Petersen 783168549a open correct tab 2020-11-20 13:20:39 +01:00
B. Petersen f8dba0f2d5 fix backstack for 'all media' option
- when called from gallery, this is just the same as 'back'

- otherwise, do not forget to remove self
2020-11-20 13:20:38 +01:00
B. Petersen 658c3af66b add 'show in chat' function 2020-11-20 13:20:38 +01:00
B. Petersen 4b0fca8e32 streamline gallery menu 2020-11-20 13:19:54 +01:00
B. Petersen 8853e320c0 remove 'forward' from gallery
- it forwards media together with the text,
  this is unexpected
- if forward is available, reply and reply-privately
  should be available as well, however, this seems to be a bit much.
- the function had issues which would need fixing.

instead, we will add a 'Show in chat' function that is more powerful
and fixes all of the things above.
2020-11-20 13:19:54 +01:00
B. Petersen 4362bb07d0 update translations 2020-11-20 13:19:12 +01:00
bjoern 65483aafcb Merge pull request #1738 from deltachat/prep-1.14.5
prep 1.14.5
2020-11-19 17:25:46 +01:00