forked from github/wulkanowy-mirror
Add single support advert (#1484)
This commit is contained in:
@ -82,18 +82,20 @@ class AboutPresenter @Inject constructor(
|
||||
|
||||
private fun loadData() {
|
||||
view?.run {
|
||||
updateData(listOfNotNull(
|
||||
versionRes,
|
||||
creatorsRes,
|
||||
feedbackRes,
|
||||
faqRes,
|
||||
discordRes,
|
||||
facebookRes,
|
||||
twitterRes,
|
||||
homepageRes,
|
||||
licensesRes,
|
||||
privacyRes
|
||||
))
|
||||
updateData(
|
||||
listOfNotNull(
|
||||
versionRes,
|
||||
creatorsRes,
|
||||
feedbackRes,
|
||||
faqRes,
|
||||
discordRes,
|
||||
facebookRes,
|
||||
twitterRes,
|
||||
homepageRes,
|
||||
licensesRes,
|
||||
privacyRes
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -299,7 +299,8 @@ class DashboardAdapter @Inject constructor() : RecyclerView.Adapter<RecyclerView
|
||||
val currentDayHeader =
|
||||
timetableFull?.headers.orEmpty().singleOrNull { it.date == currentDate }
|
||||
|
||||
val tomorrowTimetable = timetableFull?.lessons.orEmpty()
|
||||
val tomorrowTimetable = timetableFull?.lessons
|
||||
.orEmpty()
|
||||
.filter { it.date == currentDate.plusDays(1) }
|
||||
.filterNot { it.canceled }
|
||||
val tomorrowDayHeader =
|
||||
|
@ -27,10 +27,6 @@ class AdvancedFragment : PreferenceFragmentCompat(),
|
||||
@Inject
|
||||
lateinit var lingver: Lingver
|
||||
|
||||
companion object {
|
||||
fun newInstance() = AdvancedFragment()
|
||||
}
|
||||
|
||||
override val titleStringId get() = R.string.pref_settings_advanced_title
|
||||
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
|
@ -27,10 +27,6 @@ class AppearanceFragment : PreferenceFragmentCompat(),
|
||||
@Inject
|
||||
lateinit var lingver: Lingver
|
||||
|
||||
companion object {
|
||||
fun newInstance() = AppearanceFragment()
|
||||
}
|
||||
|
||||
override val titleStringId get() = R.string.pref_settings_appearance_title
|
||||
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
|
@ -40,10 +40,6 @@ class NotificationsFragment : PreferenceFragmentCompat(),
|
||||
@Inject
|
||||
lateinit var appInfo: AppInfo
|
||||
|
||||
companion object {
|
||||
fun newInstance() = NotificationsFragment()
|
||||
}
|
||||
|
||||
override val titleStringId get() = R.string.pref_settings_notifications_title
|
||||
|
||||
override val isNotificationPermissionGranted: Boolean
|
||||
|
@ -20,10 +20,6 @@ class SyncFragment : PreferenceFragmentCompat(),
|
||||
@Inject
|
||||
lateinit var presenter: SyncPresenter
|
||||
|
||||
companion object {
|
||||
fun newInstance() = SyncFragment()
|
||||
}
|
||||
|
||||
override val titleStringId get() = R.string.pref_settings_sync_title
|
||||
|
||||
override val syncSuccessString get() = getString(R.string.pref_services_message_sync_success)
|
||||
|
Reference in New Issue
Block a user