Commit Graph

3636 Commits

Author SHA1 Message Date
Hocuri ded3c5d43e Make the "selected account" checkmark green 2021-10-13 14:21:08 +02:00
adbenitez 8cdac36dc5 fix recycleview top padding 2021-10-13 04:02:43 -04:00
adbenitez 07d61fe44a update left margin of name and address 2021-10-13 03:56:26 -04:00
adbenitez ba40209723 add checkbox to selected account 2021-10-13 03:22:55 -04:00
adbenitez 584f2648e6 include selected account in list 2021-10-12 15:38:09 -04:00
Hocuri e55f1a9c20 Apply some of Android Studio's suggestions 2021-10-12 19:59:48 +02:00
Hocuri 1810508ff0 Remove unused elements in account_selection_list_fragment.xml 2021-10-12 17:21:32 +02:00
Asiel Díaz Benítez 646ed8bb18 Update src/org/thoughtcrime/securesms/accounts/AccountSelectionListFragment.java
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-10-11 17:49:50 -04:00
Asiel Díaz Benítez bc0d103f13 Update src/org/thoughtcrime/securesms/accounts/AccountSelectionListFragment.java
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-10-11 17:47:13 -04:00
Asiel Díaz Benítez 90930ae1a7 Update res/layout/account_selection_list_item.xml
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-10-11 17:46:56 -04:00
Asiel Díaz Benítez 6578e008df Update res/layout/account_selection_list_item.xml
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-10-11 17:45:58 -04:00
adbenitez e1c52835e5 set click listener in AccountViewHolder 2021-10-10 13:43:37 -04:00
adbenitez 1895e30a9b adapt delete button to theme 2021-10-10 13:12:45 -04:00
adbenitez 746c666148 improve fallback avatar in account list 2021-10-10 02:05:58 -04:00
adbenitez 811f8eaf0b add unread count badge to account selector 2021-10-10 00:39:56 -04:00
adbenitez 3880fd67a5 improve the account selector dialog 2021-10-09 23:05:07 -04:00
Hocuri 624a1d08f2 Merge pull request #2065 from deltachat/fix-shared-image-being-set-as-draft-repeatedly
Fix shared image being set as draft repeatedly (Fix #2040)

The problem was that 

      if (isDirectSharing(this)) {
        openConversation(getDirectSharingChatId(this), -1);
      }

was called in refreshTitle(). But refreshTitle() is also called everytime the connectivity changes, so everytime the connectivity changes a new instance of ConversationActivity was opened.

The last three commits are actually independent (but I think uncontroversial) improvements, if you want I can also make a separate PR for this.
2021-10-05 11:01:23 +02:00
Asiel Díaz Benítez c9689097d4 Merge pull request #2061 from deltachat/adb-issue-2016
Disable group editing actions if user can't edit group (ex. self not in group)
2021-10-04 17:00:51 -04:00
Hocuri dfb13ca7a4 Don't let the doze dialog make the tests fail 2021-10-04 16:03:19 +02:00
Hocuri b495b847f4 Remove forgotten dbg statement 2021-10-04 16:03:19 +02:00
Hocuri 925fec13b2 Move tests to separate packages so that I can e.g. run all offline tests 2021-10-04 16:03:19 +02:00
Hocuri 0f102ffc88 Fix #2040 2021-10-04 16:03:19 +02:00
Hocuri 2c6f849676 Add failing test 2021-10-04 16:02:44 +02:00
Hocuri a2ffa4cd5a Add very basic onboarding and sharing test (#2031)
* Start creating onboarding test

* Start adding sharing test

* Create very basic sharing test
2021-10-04 15:58:07 +02:00
adbenitez 02588ebb8b hidde add-member and qr-invite buttons if they can't be used at the moment 2021-10-03 16:57:54 -04:00
Hocuri 1b6965e43e Fix back button not working in connectivity view sometimes (#2064)
I noticed that sometimes the system back button (the one in the lower
left) does not work in the connectivity view. The top bar back button
worked.

This should fix this.

Also, I moved `getSupportActionBar().setTitle(R.string.connectivity)` to onCreate(). It had been in refresh() so that the title could be set to "Connectivity | Connected", "Connectivity | Connecting" and so on. But as we decided not to do this, there is no reason for it to be in refresh().
2021-10-03 16:50:39 +02:00
B. Petersen e664557435 update translations 2021-10-02 13:18:08 +02:00
adbenitez bf8ceed829 disable group editing actions for contact requests and groups where it doesn't makes sense (ex. self is not in group) 2021-10-02 00:20:39 -04:00
adbenitez 404c40379c disable buttons actions if user can't send in group 2021-10-02 00:15:33 -04:00
B. Petersen 2279ef38a3 update translations 2021-10-01 23:50:21 +02:00
bjoern a73f17144b add usage string for connectivity view (#2066)
moreover, fix the id used for 'Broadcast List'
2021-10-01 22:28:37 +02:00
B. Petersen 427e70fcbf update translations 2021-10-01 14:00:31 +02:00
B. Petersen 362ccd81c5 update translations 2021-09-30 21:37:42 +02:00
bjoern 1eed088f66 rename isGroup() to isMultiUser() (#2063)
* rename isGroup() to isMultiUser()

* rename isGroupConversation()/isPushGroupConversation() to isMultiUser()

* rename chatIsGroup to chatIsMultiUser

* rename isGroupRecipient() to isMultiUserRecipient()
2021-09-30 21:31:18 +02:00
B. Petersen 154a6fce92 update translations 2021-09-30 15:57:18 +02:00
bjoern e71f5d9bba broadcasts android ui (#2060)
* add broadcasts ffi

* add 'broadcast' options to menu, chat, profile etc.

* generate initial broadcast names

* reword broadcast hint

* make 'Broadcasts Lists' experimental; while on that, also add a confirmation dialog to the location streaming switch (wording taken from ios)

* Update res/values/strings.xml

Co-authored-by: Hocuri <hocuri@gmx.de>

* comment on strings.xml

* tweak 'experimental' appearing, avoid the 'test tube'-emoji that is not supported on many devices

Co-authored-by: Hocuri <hocuri@gmx.de>
2021-09-30 15:44:17 +02:00
B. Petersen bafccdec1f fix translation syntax error 2021-09-30 15:01:05 +02:00
B. Petersen 3db47cb2c6 update deltachat-core-rust submodule 2021-09-30 14:32:54 +02:00
B. Petersen 62b8a7d646 update translations 2021-09-30 01:42:01 +02:00
B. Petersen a1aae81bb4 update translations 2021-09-24 18:10:11 +02:00
bjoern 3af9fdcea6 do not say, device-messages can be deleted from the server somehow (#2059)
it is a bit nitpicking and also a cornercase,
however, yes, it was not correct before.
2021-09-24 18:04:33 +02:00
bjoern 1ef4b23811 prefer 'All' over 'No Limit' (#2055) 2021-09-22 18:45:05 +02:00
B. Petersen 17bdd6e0da fix typo in english source strings 2021-09-22 02:06:37 +02:00
B. Petersen 6a574bacc6 update translations 2021-09-22 02:03:30 +02:00
B. Petersen db647e773e update translations 2021-09-21 11:15:58 +02:00
B. Petersen 7b4e7d5990 update translations 2021-09-21 01:57:40 +02:00
B. Petersen 96b38e60b5 make check-translations.sh accept escaped percent sign 2021-09-21 01:55:43 +02:00
B. Petersen fe113cb520 hotfix: remove superfluous backslash 2021-09-21 01:47:54 +02:00
bjoern d7072d57df add translations recently needed by core: connectivity, quota, device messages and some other bits (#2053) 2021-09-21 01:00:26 +02:00
B. Petersen 35573e1ec9 update deltachat-core-rust submodule 2021-09-20 21:46:24 +02:00