Commit 07e0c0c
zerox80
fix: prevent FAB vector tint crash on API 34/35
FloatingActionButton library inflates the icons without a themed Context. On targetSdk 34/35 the vector tint attribute ?attr/colorControlNormal fails to resolve, crashing during FileDisplayActivity/Splash startup before UI appears. Remove the theme-dependent tint from ic_action_create_dir.xml, ic_action_create_file.xml and ic_action_open_shortcut.xml to rely on FAB’s own tinting. Tested with assembleDebug; no resource or code changes otherwise.1 parent c5f67dc commit 07e0c0c
File tree
3 files changed
+2
-5
lines changed- opencloudApp/src/main/res/drawable
3 files changed
+2
-5
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
0 commit comments