mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-04 16:57:00 +01:00
fix(android): lint on the predictive-back opt-in and the shared-art modifier
enableOnBackInvokedCallback only exists from API 33 and the app runs from 31, which lint reports as UnusedAttribute; tools:targetApi says that is intended, since older releases ignore it. sharedArt becomes an extension on Modifier, as Compose lint asks of modifier factories.
This commit is contained in:
1 parent
bedbe0ef52
commit
50481e6aed
4 files changed
+7
-6
No files matched your search
@@ -12,6 +12,7 @@
|
||||
android:allowBackup="false"
|
||||
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||
android:enableOnBackInvokedCallback="true"
|
||||
tools:targetApi="33"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:supportsRtl="true"
|
||||
|
||||
Reference in new issue
Block a user