Commit Graph

15 Commits

Author SHA1 Message Date
Hocuri f941fd3c53 Remove Deaddrop chat (Android UI) (#1975)
See deltachat/deltachat-core-rust#2514

Fixes #1963
Fixes #1890

Before deleting a chat the user is asked for confirmation. Before blocking not, because blocking is not "destructive" (i.e. can be completely reverted by unblocking the contact). I'm wondering whether we should show a snackbar with an Undo button though, but we can probably wait for user feedback on this.

* Start removing deaddrop chat

* Generally works

* Fix the buttons

(it's not easy to not show one of the buttons in
ConstraintLayout; if problems turn up, we should probably
just not use ConstraintLayout)

* fix more things

* restartLoader() instead of notifyDataSetChanged() because the latter didn't do anything

* Archived badge

* Rename "Contact request" to "Request"

* oops

* Remove setStockTranslation(8, context.getString(R.string.chat_contact_request));

* Remove commented-out code, we probably won't need it

* Don't show "Delete" button for 1:1 chats

* Get rid of short flickering when declining a request

* Set the app's night mode to match the preference

This added 6ms to startup time, but I think that's OK, as
we will also be able to use more `-night` views in the future

* Make "Accept" text a bit brighter and easier to read in dark mode

* Check if the chattype is Group instead of members.length == 1
2021-07-26 13:01:59 +02:00
B. Petersen 097891e72a remove outdated reminder
the warning about outdated apps
was pretty unreliable in the past -
because of too short timings
and also because of the "installation date"
and the fact that an "installer" was used, is not always reliable.

also, the "installer date" could be wrong -
if the installation was done when the clock was altered badly.

as we cannot rely on the things the system provides here,
we move the whole thing to the core at
https://github.com/deltachat/deltachat-core-rust/pull/1901
which has also the advantage that this is done for all uis then.
2020-09-16 16:06:43 +02:00
Angelo Fuchs 3446a56a15 #466 manually scaling and cropping of background. 2020-07-13 16:34:03 +02:00
Angelo Fuchs 6eb1d24858 #466 fixes jumping for images that are big enough. Smaller pictures look bad atm. 2020-07-13 16:33:03 +02:00
Angelo Fuchs 79b1db70c6 Reintroduce "fixes #466. Setting the background image provides for a image that is sufficiently large to fit portrait and landscape orientations. When displayed the shorter side is scaled to fit, the larger is then centered and cropped."
This reverts commit e8853a4329.
2020-07-13 16:32:42 +02:00
B. Petersen e8853a4329 Revert "fixes #466. Setting the background image provides for a image that is sufficiently large to fit portrait and landscape orientations. When displayed the shorter side is scaled to fit, the larger is then centered and cropped."
This reverts commit 16f5c6d889.
2020-06-17 11:50:18 +02:00
cyberta 56d85e01e1 update and adapt signal sources to have the new media keyboard including new emojis 2020-06-11 17:37:43 +02:00
Angelo Fuchs 16f5c6d889 fixes #466. Setting the background image provides for a image that is sufficiently large to fit portrait and landscape orientations. When displayed the shorter side is scaled to fit, the larger is then centered and cropped. 2020-06-04 00:02:34 +02:00
B. Petersen 229ede09f1 do not truncate text to sms-like-sizes, closes #169 2018-12-10 17:04:26 +01:00
B. Petersen 96e1a19b4c remove unused profile sharing 2018-11-28 01:44:27 +01:00
B. Petersen ebcfd61e9a remove unverified|untrusted dialogs|banner 2018-11-26 23:08:26 +01:00
Florian Haar a336ce3e2c Allow for customized Background image #50 2018-11-09 10:16:32 +01:00
B. Petersen 0abecd74c9 remove unused code 2018-10-22 00:56:42 +02:00
daniel.boehrs a02574dbbb Allow for customized Background image #50 2018-10-16 13:58:24 +02:00
B. Petersen b1a00a03d2 Initial commit 🌱 2018-08-14 17:20:46 +02:00