Browse Source

Update CHANGELOG.md (reword the resource breaking change) (#4340)

pull/4369/head
Igor Demin 10 months ago committed by GitHub
parent
commit
58f2168d2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 20
      CHANGELOG.md

20
CHANGELOG.md

@ -3,15 +3,17 @@ _Changes since 1.6.0-rc01_
## Breaking changes ## Breaking changes
_since 1.6.0-beta01_ _since 1.6.0-beta01_
- When the resource library is used, resources should be imported explicitly. Replace this: - When the resource library is used, resources should be imported explicitly.
```
import <modulePackage>.generated.resources.Res > To quickly change your code to a new state, replace this:
``` > ```
by this: > import <modulePackage>.generated.resources.Res
``` > ```
import <modulePackage>.generated.resources.Res > by this:
import <modulePackage>.generated.resources.* > ```
``` > import <modulePackage>.generated.resources.*
> ```
> and perform "Code - Optimize Imports" to apply the project code style. If code style doesn't allow wildcrads, `import <modulePackage>.generated.resources.*` will be replaced by explicit imports.
## iOS/desktop/web ## iOS/desktop/web

Loading…
Cancel
Save