Replaced the regex gunk in the composer with something more readable and more reliable.

Also, put in a fix for a crash related to failing while loading the vector image for the media picker button.
This commit is contained in:
Vavassor 2017-02-13 21:46:25 -05:00
commit f14973a6d4
6 changed files with 54 additions and 46 deletions

View file

@ -21,5 +21,6 @@
<attr name="status_divider_color" format="reference|color" />
<attr name="tab_page_margin_color" format="reference|color" />
<attr name="account_header_background_color" format="reference|color" />
<attr name="compose_media_button_tint" format="reference|color" />
</resources>

View file

@ -29,6 +29,7 @@
<item name="status_divider_color">@color/status_divider_dark</item>
<item name="tab_page_margin_color">@color/tab_page_margin_dark</item>
<item name="account_header_background_color">@color/account_header_background_dark</item>
<item name="compose_media_button_tint">@color/media_button_dark</item>
</style>
<style name="AppTheme.ImageButton.Dark" parent="@style/Widget.AppCompat.Button.Borderless.Colored">