bmarty
7e3b9d8d3b
Sync Strings from Localazy
2023-10-02 00:09:47 +00:00
bmarty
c72bb92ef2
Sync Strings from Localazy
2023-09-25 00:09:17 +00:00
bmarty
a7ce12d91d
Sync Strings from Localazy
2023-09-21 15:51:21 +00:00
Benoit Marty
0255ec6771
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
d19b624c6f
Rename Event for clarity
2023-09-21 15:33:03 +02:00
Benoit Marty
dd5d67d186
Move open system setting to the PermissionsPresenter
2023-09-21 14:20:41 +02:00
Benoit Marty
7e587f9a9e
Add strings for permission dialogs in Localazy
2023-09-21 12:07:09 +02:00
Benoit Marty
dcb1677bf1
Open app settings from the permission dialog.
2023-09-21 11:37:59 +02:00
Benoit Marty
f3456cafa7
Rename Event for clarity
2023-09-21 11:29:29 +02:00
Benoit Marty
31eca73e8d
Request Camera permission before launching the external Camera app ( #1395 )
2023-09-21 10:54:02 +02:00
Benoit Marty
0e4c146e87
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
2819448cd4
Use DayNightPreview
2023-09-19 11:49:12 +02:00
Jorge Martin Espinosa
cfdccc904e
Replace notification permission dialog with a screen ( #1223 )
...
* Replace notification permission dialog with a screen
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-05 18:58:05 +02:00
Benoit Marty
7083abcf09
migrate object to data object ( #1135 )
2023-08-24 09:32:44 +02:00
Benoit Marty
6aa5239189
Enable detekt rule PreviewPublic and fix existing issues.
2023-07-26 10:08:39 +02:00
Marco Romano
ca695ca077
Revert "Auto generate dark mode previews and screenshots ( #776 )" ( #784 )
...
This reverts commit fd467c2451 .
2023-07-05 15:47:53 +02:00
Marco Romano
fd467c2451
Auto generate dark mode previews and screenshots ( #776 )
...
With this change, composable previews and screenshots should be created with just:
```
@ElementPreviews
@Composable
fun MyViewPreview() {
ElementPreview {
MyView()
}
}
```
- Adds `@ElementPreviews` which is a shorthand for:
```
@Preview(name = "D")
@Preview(name = "N", uiMode = Configuration.UI_MODE_NIGHT_YES)
```
Should be used in connection with the now public `fun ElementPreview()` composable.
- Adds ElementPreviews to previewAnnotations in dangerfile
- Screenshots of night mode previews are now rendered with night mode
- Replaces `ElementPreviewLight` and `ElementThemedPreview` with `ElementPreview`
- Deprecates `ElementPreviewDark` which should be removed.
- Remaining usages of `ElementPreviewDark` are now ignored during screenshot tests
2023-07-05 13:58:24 +02:00
Benoit Marty
7976ca2dbf
Add more state for more previews.
2023-04-12 09:41:22 +02:00
Benoit Marty
9e00c60649
if -> when
2023-04-12 09:41:22 +02:00
Benoit Marty
08fa22069b
Use presenter factory
2023-04-05 16:31:09 +02:00
Benoit Marty
000ed480ee
Be able to test PermissionsPresenterTest. Create interface to abstract Accompanist implementation
2023-04-05 16:25:27 +02:00
Benoit Marty
d8b37d6ead
Add permission modules
2023-04-05 16:25:27 +02:00