Commit graph

1146 commits

Author SHA1 Message Date
Benoit Marty
c75eabbcb0 Enable detekt rules UnnecessaryParentheses and cleanup the code. 2023-07-20 18:08:08 +02:00
Benoit Marty
2928073e22 Enable detekt rules UnusedImports and cleanup the code. 2023-07-20 18:00:23 +02:00
Benoit Marty
86756dbc09 Enable detekt rules UnusedParameter and UnusedPrivateProperty and cleanup the code. 2023-07-20 17:48:56 +02:00
Benoit Marty
24ece8c454 Enable detekt rule UnusedPrivateMember and cleanup the code. 2023-07-20 17:44:14 +02:00
Benoit Marty
d7f8aa533e Stop using deprecated LocalBroadcastManager. We will implement the code when we will work on the troubleshoot notification screen. 2023-07-20 17:39:55 +02:00
Benoit Marty
2163c1db8c Create sheetStateForPreview to avoid code duplication. 2023-07-20 17:39:55 +02:00
Benoit Marty
c7222e2969 Fix warning (suppress, no sure I want to delete this class right now) 2023-07-20 15:41:44 +02:00
Benoit Marty
0f4af79fb1 Fix warning (comment out dead code due to notification actions not active yet.) 2023-07-20 15:41:09 +02:00
Benoit Marty
b072872c85 Fix warning (suppress, no sure I want to delete this class right now) 2023-07-20 15:37:50 +02:00
Benoit Marty
202268ae55 Fix warning (remove dead code) 2023-07-20 15:36:23 +02:00
Benoit Marty
1f3efdfe46 Fix warning (Build.VERSION.SDK_INT < Build.VERSION_CODES.Q here) 2023-07-20 15:34:55 +02:00
Benoit Marty
9fbdef4bd2 Fix warning ('when' is exhaustive so 'else' is redundant here) 2023-07-20 15:33:00 +02:00
Benoit Marty
a88ac632f6 Fix warning (comment out temporary dead code) 2023-07-20 15:32:19 +02:00
Marco Romano
e448bbb92d
maplibre-compose allow customisation of location dot style (#929)
- And style it according to our designs.

Related to:
- https://github.com/vector-im/element-meta/issues/1682
2023-07-20 12:09:40 +02:00
renovate[bot]
156bf08b7a
Update dependency app.cash.molecule:molecule-runtime to v1 (#925)
* Update dependency app.cash.molecule:molecule-runtime to v1

* Replace `RecompositionClock` with `RecompositionMode`

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2023-07-20 07:36:19 +02:00
Benoit Marty
8b97d50050
Merge pull request #920 from vector-im/feature/bma/slidingSyncState
Sliding sync state rendering
2023-07-19 16:26:14 +02:00
ganfra
2ccedc1e67
Merge pull request #913 from vector-im/feature/fga/avoid_spamming_sync_flow
Avoid spamming sync flow by checking item origin
2023-07-19 15:03:38 +02:00
Benoit Marty
3c9ecec563 Make SyncState values match SyncServiceState values. 2023-07-19 14:44:53 +02:00
ganfra
5f225ce3b7 TimelineDiff: use firstOrNull even if it shouldn't never be empty 2023-07-19 14:39:23 +02:00
Jorge Martín
243a39d6de Don't blindly retry fetching pending or failed event details 2023-07-19 13:14:45 +02:00
Marco Romano
3c45a5ece4
Send My Location (#770)
- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 09:58:13 +00:00
ganfra
9bf388eb1a Avoid spamming sync flow by checking item origin 2023-07-19 11:48:05 +02:00
Benoit Marty
02251f2d96
Merge pull request #901 from vector-im/feature/fga/power_level
Feature/fga/power level
2023-07-18 23:39:52 +02:00
ganfra
f8d5d25d90
Merge pull request #907 from vector-im/feature/fga/fix_room_list_scroll_position
RoomList: introduce RoomListDataSource
2023-07-18 23:31:34 +02:00
Benoit Marty
39a8d9dae0
Merge pull request #903 from vector-im/feature/bma/sessionDeleted
React to session deletion (from another session)
2023-07-18 23:30:30 +02:00
ganfra
60d0b5c134 Merge branch 'develop' into feature/fga/fix_room_list_scroll_position 2023-07-18 23:07:10 +02:00
Benoit Marty
c5629b3a32 Format files. 2023-07-18 23:05:50 +02:00
Benoit Marty
3eff873d48 Fix typo in comments. 2023-07-18 23:02:55 +02:00
ganfra
1d2fd52ce6 Merge branch 'develop' into feature/fga/power_level 2023-07-18 22:54:33 +02:00
ganfra
9741b3df64
Merge pull request #906 from vector-im/feature/fga/update-rust-sdk-0.1.34
Feature/fga/update rust sdk 0.1.34
2023-07-18 22:52:48 +02:00
ganfra
dfd7f9cc5b Fix tests 2023-07-18 22:27:44 +02:00
ganfra
bb12338583 RoomList: introduce RoomListDataSource so we keep the data in memory as long as the node is in the backstack. 2023-07-18 22:09:50 +02:00
ganfra
614f97543e Update rust sdk to 0.1.34 2023-07-18 20:12:51 +02:00
Benoit Marty
e8b1f2681a React to session deletion (from another session) 2023-07-18 18:00:12 +02:00
ganfra
d7cb8e076c
Merge pull request #900 from vector-im/feature/fga/better_media_handling
Feature/fga/better media handling
2023-07-18 17:52:41 +02:00
ganfra
d273dd00ff Media: Clean after pr reviews 2023-07-18 16:38:36 +02:00
Benoit Marty
b6e35de3db
Merge pull request #898 from vector-im/feature/bma/fixOnBoardingScreen
Fix on boarding screen
2023-07-18 15:55:13 +02:00
ganfra
84500d41eb Merge branch 'develop' into feature/fga/better_media_handling 2023-07-18 15:13:59 +02:00
Marco Romano
e7cab7ac1d
Make the functions in SystemUtils extensions (#899)
- They are now all extensions over `Context` or `Activity` (when `Context` is not enough) (some of them already were).
- Allows for IDE completion.
2023-07-18 13:11:11 +00:00
ganfra
669e62e462 PowerLevel: use new api exposed from rust which doesn't need to load members. 2023-07-18 15:10:44 +02:00
Benoit Marty
6b3f69accf Use Large and remove Huge. 2023-07-18 14:58:09 +02:00
Benoit Marty
f12dc56ff8 Create Huge logo size 2023-07-18 12:12:39 +02:00
Benoit Marty
6fe59cb5f8 Small refacto to have more Preview. 2023-07-18 11:32:52 +02:00
Benoit Marty
5824281f0b Small refacto. 2023-07-18 11:22:51 +02:00
Benoit Marty
d80f2de112 No need to use trick for night resource when using DayNightPreviews annotation. 2023-07-18 11:19:46 +02:00
Benoit Marty
bb3aee6d7e
Merge pull request #895 from vector-im/feature/bma/fixDarkWelcome
Fix dark welcome
2023-07-18 11:19:10 +02:00
Benoit Marty
7ca5bcf74e Fix preview. 2023-07-18 10:12:56 +02:00
Benoit Marty
616d933fb6 Format file 2023-07-18 10:12:56 +02:00
Benoit Marty
5aa4cbdac7 Fix text color 2023-07-18 10:12:56 +02:00
ganfra
7cefff8610 Merge branch 'develop' into feature/fga/update-rust-sdk-0.1.32 2023-07-18 10:12:19 +02:00