mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-17 15:26:23 +00:00
893c08050f
Issues found here: https://github.com/mozilla-l10n/android-l10n/pull/89
24 lines
761 B
Kotlin
24 lines
761 B
Kotlin
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
// This is example code for the 'Simplified Example' section of
|
|
// /docs/architecture-overview.md
|
|
class ContactsInteractor(
|
|
private val contactsController: ContactsController,
|
|
private val themeController: ThemeController
|
|
) {
|
|
|
|
fun onThemeSelected(theme: Theme) {
|
|
themeController.themeSelected(theme)
|
|
}
|
|
|
|
fun onContactRenamed(contactId: Int, newName: String) {
|
|
contactsController.contactRenamed(contactId, newName)
|
|
}
|
|
|
|
fun onChatSelected(contactId: Int) {
|
|
contactsController.chatSelected(contactId)
|
|
}
|
|
}
|