Commit 76ce268
committed
use * imports for resources. Since resources are all prepended by Res. in the code, it should always pretty clear any one constant comes from.
(I wish one could just import the Res object, but unfortunately, all those resources are implemented as extension functions on a "main" Res object..., see https://youtrack.jetbrains.com/issue/CMP-8911/Generate-accessors-for-resources-in-Res-object-as-members )1 parent c2a85a7 commit 76ce268
File tree
185 files changed
+183
-1897
lines changed- app/src
- androidInstrumentedTest/kotlin/de/westnordost/streetcomplete/data/osm/osmquests
- androidMain/kotlin/de/westnordost/streetcomplete
- overlays/places
- quests
- max_height
- traffic_signals_vibrate
- screens
- about
- logs
- main
- bottom_sheet
- edithistory
- errors
- messages
- overlays
- teammode
- settings
- debug
- overlay_selection
- presets
- quest_selection
- tutorial
- user
- edits
- login
- androidUnitTest/kotlin/de/westnordost/streetcomplete/data/user/achievements
- commonMain/kotlin/de/westnordost/streetcomplete
- data/user/achievements
- osm
- address
- building
- cycleway_separate
- cycleway
- duration
- lit
- mtb_scale
- sidewalk
- street_parking
- surface
- time_restriction
- traffic_calming
- overlays/street_parking
- quests
- address
- artwork
- barrier_bicycle_barrier_installation
- barrier_bicycle_barrier_type
- barrier_type
- bicycle_repair_station
- bike_parking_type
- bike_rental_type
- boat_rental
- bollard_type
- bridge_structure
- building_entrance_reference
- building_levels
- camera_type
- car_wash_type
- cycleway
- drinking_water_type
- fire_hydrant_diameter
- fire_hydrant_position
- fire_hydrant
- incline_direction
- kerb_height
- lanes
- leaf_detail
- max_height
- max_weight
- memorial_type
- oneway
- orchard_produce
- parking_type
- power_attachment
- powerpoles_material
- railway_crossing
- recycling_material
- recycling
- religion
- roof_shape
- segregated
- shop_type
- smoothness
- sport
- steps_ramp
- surface
- tourism_information
- tracktype
- traffic_calming_type
- screens
- about
- logs
- main
- controls
- errors
- messages
- urlconfig
- settings
- language_selection
- messages
- overlay_selection
- presets
- quest_selection
- tutorial
- user
- achievements
- edits
- links
- profile
- ui/common
- dialogs
- feature
- item_select
- opening_hours
- settings
- street_side_select
- util/ktx
- commonTest/kotlin/de/westnordost/streetcomplete/data/user/achievements
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
185 files changed
+183
-1897
lines changedLines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 55 | + | |
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
| 6 | + | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
| |||
Lines changed: 1 addition & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 27 | + | |
49 | 28 | | |
50 | 29 | | |
51 | 30 | | |
| |||
app/src/androidMain/kotlin/de/westnordost/streetcomplete/screens/about/logs/DateTimeSelectField.kt
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 19 | + | |
26 | 20 | | |
27 | 21 | | |
28 | 22 | | |
| |||
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 43 | + | |
50 | 44 | | |
51 | 45 | | |
52 | 46 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
| 46 | + | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
0 commit comments