Commit Graph

1514 Commits

Author SHA1 Message Date
Benoit Marty
d32a7c6ddf Simplify the management of inReplyToEventTimelineItem 2023-09-27 11:31:12 +02:00
Benoit Marty
9d0e185d1c Ensure getEventTimelineItemByEventId is called when we enter in reply mode. 2023-09-27 10:48:31 +02:00
Benoit Marty
00ab22f42e Reduce the number of fallback notification. Only used now when message cannot be decrypted.
Also avoid using `else` in this `when` block.
2023-09-27 10:12:04 +02:00
Benoit Marty
79f37f1504 Fix API break with Matrix SDK 0.1.58. 2023-09-27 09:44:58 +02:00
Benoit Marty
652597c127 Merge pull request #1436 from vector-im/feature/bma/mutableIntFloat
Mutable int float
2023-09-26 18:31:36 +02:00
Benoit Marty
f21b3e385b Merge pull request #1432 from vector-im/feature/bma/installApk
Install apk from the app - REQUEST_INSTALL_PACKAGES
2023-09-26 18:15:35 +02:00
Benoit Marty
99caa031e8 Replace mutableStateOf by mutableIntStateOf and mutableFloatStateOf. Use intValue and floatValue to avoid unboxing. 2023-09-26 18:07:53 +02:00
Benoit Marty
34114caeb5 Be able to install APK from Element X. 2023-09-26 17:48:26 +02:00
Benoit Marty
45cd853c21 Improve default mime type. 2023-09-26 17:48:26 +02:00
Benoit Marty
c380ed538d Avoid hard-coded string. 2023-09-26 17:48:26 +02:00
Marco Romano
295e10e612 Show poll creator view in timeline (#1429)
- Shows edit/end poll buttons when the user is the creator of the poll.
- Only the end poll button is wired right now as there is no "edit poll" screen yet.
2023-09-26 11:19:24 +02:00
bmarty
e9a7c7bbaf Sync Strings from Localazy 2023-09-25 00:09:17 +00:00
Benoit Marty
10943dc7fc Merge pull request #1405 from vector-im/feature/bma/timelineGlitch
Add animation on the timeline content, to avoid glitch (#1323)
2023-09-21 22:12:59 +02:00
Marco Romano
b6c0ea8d71 Upgrade Rust SDK to v0.1.57 (#1401)
- Enables polls in room summaries from https://github.com/vector-im/element-x-android/pull/1387
- Accommodates a few breaking changes
2023-09-21 19:48:19 +00:00
Benoit Marty
38ee16725e Add animation on the timeline content, to avoid glitch (#1323) 2023-09-21 18:43:46 +02:00
bmarty
4077c5c834 Sync Strings from Localazy 2023-09-21 15:51:21 +00:00
Benoit Marty
5119ca33dd Merge pull request #1400 from vector-im/feature/bma/fixCrashPhoto
Fix crash when user wants to use the camera
2023-09-21 16:31:36 +02:00
Benoit Marty
74fc9ad905 Rename Event for clarity 2023-09-21 15:33:03 +02:00
Benoit Marty
7c190883e8 Rename file to match the class it contains. 2023-09-21 15:24:26 +02:00
Marco Romano
837443c690 Properly format lastMessage when it belongs to a poll. (#1387)
Takes care of properly formatting a room's last message when it belongs to a poll.

NB: Polls still aren't exposed as a room's `last_message` from the rust SDK, so this code won't actually run yet. This will happen after integrating rust SDK version 0.1.57 which includes: https://github.com/matrix-org/matrix-rust-sdk/pull/2580
2023-09-21 15:20:15 +02:00
Benoit Marty
ffcac2a0da Move open system setting to the PermissionsPresenter 2023-09-21 14:20:41 +02:00
Benoit Marty
9b72992d51 Create FakePermissionsPresenterFactory, to reduce boilerplate. 2023-09-21 12:54:15 +02:00
Benoit Marty
6d41542bd0 Add strings for permission dialogs in Localazy 2023-09-21 12:07:09 +02:00
Benoit Marty
378d3ff9ab Open app settings from the permission dialog. 2023-09-21 11:37:59 +02:00
Benoit Marty
676b2cc66b Rename Event for clarity 2023-09-21 11:29:29 +02:00
Benoit Marty
a43e82e2ff Fix behavior of DefaultPermissionsPresenter. Do not show dialog immediately. 2023-09-21 11:27:30 +02:00
Benoit Marty
da61b8970a Request Camera permission before launching the external Camera app (#1395) 2023-09-21 10:54:02 +02:00
Benoit Marty
d2ca528679 Detekt: Rename DayNightPreviews to PreviewsDayNight to follow naming convention.
MultiPreview annotations should start with `Previews` as prefix
2023-09-21 08:30:36 +02:00
Benoit Marty
76d448e34b Detekt: Rename LargeHeightPreview to PreviewWithLargeHeight to follow naming convention.
MultiPreview annotations should start with `Preview` as prefix

Detekt: Rename `LargeHeightPreview` to `PreviewWithLargeHeight` to follow naming convention.
Custom Preview annotations should start with `Preview` as prefix
2023-09-21 08:30:15 +02:00
Benoit Marty
c15e47d571 Merge pull request #1392 from vector-im/feature/bma/iterateOnIcons
Iterate on icons
2023-09-20 23:20:28 +02:00
Benoit Marty
f0e8c0b32d Add start padding to the send icon to make it visually centered. 2023-09-20 18:47:29 +02:00
Benoit Marty
426bb5b622 Remove unused resource, and use compound icons when possible. 2023-09-20 16:45:38 +02:00
Benoit Marty
d6ea21da22 Migrate other icons to compound icons. 2023-09-20 16:44:59 +02:00
Benoit Marty
21f1fc5a20 Better rendering on screenshot test 2023-09-20 16:44:59 +02:00
Benoit Marty
27bd4cd9c0 Remove unused icons 2023-09-20 16:44:59 +02:00
Benoit Marty
5fafd51e40 Fix warnings. 2023-09-20 16:44:59 +02:00
Benoit Marty
caa0ce0c0a Iterate on icons (#1320) 2023-09-20 16:44:59 +02:00
Benoit Marty
8fedc40008 Remove VectorIcons object, inline the values. 2023-09-20 16:44:59 +02:00
ganfra
87125e0ea3 Remove usage of async-uniffi as it leads to a deadlocks and memory leaks (#1381) 2023-09-20 12:52:57 +02:00
Benoit Marty
90f5537adc All icons are now white 2023-09-20 09:08:31 +02:00
Benoit Marty
fd20bf102e Add Icons preview. 2023-09-20 09:03:57 +02:00
ganfra
df565ddd9b Merge pull request #1376 from vector-im/feature/fga/fix_room_member_infinite_loop
Fix room member infinite loop
2023-09-19 18:18:54 +02:00
ganfra
85125aa854 Fix warning and yield 2023-09-19 18:06:56 +02:00
jonnyandrew
2757b5b13d [Rich text editor] Update code and links style (#1362) 2023-09-19 15:40:59 +00:00
Benoit Marty
e01f32091f Import all the icons from zip file at https://github.com/vector-im/element-x-android/issues/1320 2023-09-19 17:11:57 +02:00
Benoit Marty
1ca050a4f8 Import all the compound icons from https://github.com/vector-im/compound-design-tokens/tree/main/icons. 2023-09-19 17:05:30 +02:00
ganfra
3706b3cc5c Fix room member infinite loop 2023-09-19 16:10:27 +02:00
ganfra
d9113448b6 Merge pull request #1371 from vector-im/feature/fga/fix_anr
RoomList : fix ANR (#1370)
2023-09-19 14:17:37 +02:00
Benoit Marty
4d7cad592c Merge pull request #1372 from vector-im/feature/bma/dayNightPreview
Day night preview annotation
2023-09-19 14:04:49 +02:00
ganfra
1004366d95 RoomList : fix ANR (#1370) 2023-09-19 14:01:43 +02:00