# Make profile code import robust to review findings · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/9ac247142a632e7cc0a4d862ed0c83adb31031e5)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 9ac247142a632e7cc0a4d862ed0c83adb31031e5

Requested commit: 9ac247142a632e7cc0a4d862ed0c83adb31031e5

Commit: 9ac247142a632e7cc0a4d862ed0c83adb31031e5

Tree: 7b5e10408c88c5ff21214f9b0fc8eb9d5ba4117e

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Make profile code import robust to review findings

- The dialog opens even when the clipboard can't be read.
- "Use it" applies the profile after Settings closes; it reads the app's
  container and asks through the root navigator, not the disposed section.
- A failed profile write shows an error and frees the Add button.
- Names are capped by code point, so an emoji at the limit stays whole.
- Codes with a version below 1 are rejected.
- Long messages wrap instead of clipping in a 16px slot.
- The codec deals in #RRGGBB strings and imports only dart:convert, so a
  server can read the format without Flutter or Hive.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

```

## Parents

- [479012c358c1a44f90cfb3054e4ff986d5d87dc4](https://git.cafe/dara/icarus/commit/479012c358c1a44f90cfb3054e4ff986d5d87dc4?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/9ac247142a632e7cc0a4d862ed0c83adb31031e5?format=markdown)
