The state of the color palette fails to synchronize with text selection

WHAT IS THE BUG

When I select a blue word “A”, the color palette shows that it is black.

HOW TO REPRODUCE IT

  1. Open a document with different colors. For example, one word in black and one word in blue.

  2. Select a black word and the color palette shows black.

  3. Select a blue color word, but the color palette still shows black.

THE EXPECTED BEHAVIOR

The color palette correctly displays the color of the selected text.

SYSTEM INFORMATIONS

  • OS: iOS 16.2

  • Device: iPhone 12

  • Anytype Version: 0.19.0