mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-27 13:21:30 +00:00
Fixed crash when opening DevicesFragment (fixes #690).
It seems that the xxxhdpi `active` drawable was corrupted. The old build tools could still read the drawable, but the new ones couldn't handle it. Regenerating the drawable fixed the crash. Also removed `inactive` drawables and xml drawable which weren't being used.
This commit is contained in:
parent
d22fbc3f38
commit
5b9cd28eb8
7 changed files with 2 additions and 7 deletions
Binary file not shown.
Before Width: | Height: | Size: 295 B |
Binary file not shown.
Before Width: | Height: | Size: 306 B |
Binary file not shown.
Before Width: | Height: | Size: 443 B |
Binary file not shown.
Before Width: | Height: | Size: 685 B After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 570 B |
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@drawable/ic_tag_text_outline_black_24dp_inactive" android:state_enabled="false" />
|
||||
<item android:drawable="@drawable/ic_tag_text_outline_black_24dp_active" />
|
||||
</selector>
|
|
@ -51,8 +51,8 @@
|
|||
style="@style/Widget.Syncthing.TextView.Label.Details.Field"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:drawableLeft="@drawable/ic_tag_text_outline_black_24dp"
|
||||
android:drawableStart="@drawable/ic_tag_text_outline_black_24dp"
|
||||
android:drawableLeft="@drawable/ic_tag_text_outline_black_24dp_active"
|
||||
android:drawableStart="@drawable/ic_tag_text_outline_black_24dp_active"
|
||||
android:hint="@string/name"
|
||||
android:imeOptions="actionNext"
|
||||
android:inputType="textCapWords" />
|
||||
|
|
Loading…
Reference in a new issue