fix SetTextI18n lint warnings and set as error
This commit is contained in:
parent
7702e72acb
commit
186d1dbabb
@ -13,4 +13,10 @@
|
|||||||
<issue id="NestedScrolling" severity="error"/>
|
<issue id="NestedScrolling" severity="error"/>
|
||||||
<issue id="StringFormatCount" severity="error"/>
|
<issue id="StringFormatCount" severity="error"/>
|
||||||
<issue id="UnsafeProtectedBroadcastReceiver" severity="error"/>
|
<issue id="UnsafeProtectedBroadcastReceiver" severity="error"/>
|
||||||
|
|
||||||
|
<!-- these should be fixed, but it'll be a chunk of work -->
|
||||||
|
<issue id="SetTextI18n" severity="error">
|
||||||
|
<ignore path="src/main/java/org/fdroid/fdroid/views/AppDetailsRecyclerViewAdapter.java"/>
|
||||||
|
<ignore path="src/main/java/org/fdroid/fdroid/views/apps/AppListItemController.java"/>
|
||||||
|
</issue>
|
||||||
</lint>
|
</lint>
|
||||||
|
@ -49,7 +49,7 @@ public class AppNotification extends AppUpdateData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void bindApp(AppNotification app) {
|
public void bindApp(AppNotification app) {
|
||||||
((TextView) itemView).setText("Notification for app");
|
((TextView) itemView).setText("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ public class DonationPrompt extends AppUpdateData {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void bindApp(DonationPrompt app) {
|
public void bindApp(DonationPrompt app) {
|
||||||
((TextView) itemView).setText("Donation prompt for app");
|
((TextView) itemView).setText("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user