Author: Adam Pioterek <adam.pioterek@protonmail.ch>
not yet search by line (v2.0-beta)
app/src/main/java/ml/adamsprogs/bimba/activities/DashActivity.kt | 4 +-
diff --git a/app/src/main/java/ml/adamsprogs/bimba/activities/DashActivity.kt b/app/src/main/java/ml/adamsprogs/bimba/activities/DashActivity.kt index cc63e01b732d8c4c8632aac9b344aa0af533e2dd..c640aa2fcdca835b67a8d7842f935e972950c2b9 100644 --- a/app/src/main/java/ml/adamsprogs/bimba/activities/DashActivity.kt +++ b/app/src/main/java/ml/adamsprogs/bimba/activities/DashActivity.kt @@ -49,9 +49,9 @@ } override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) + AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO) //fixme on first run after kill Dash is night (but just background) setContentView(R.layout.activity_dash) - AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_AUTO) setSupportActionBar(toolbar) timetable = Timetable.getTimetable(this) @@ -221,7 +221,7 @@ favouritesList.adapter.notifyDataSetChanged() } private fun getSuggestions() { - suggestions = (timetable.getStopSuggestions(context) + timetable.getLineSuggestions()).sorted() //todo<p:v+1> + bike stations, train stations, &c + suggestions = (timetable.getStopSuggestions(context)).sorted() //+ timetable.getLineSuggestions()).sorted() //todo<p:v+1> + bike stations, train stations, &c } private fun prepareListeners() {