mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Move user status next to the current account header.
Also make the other account section collapsable
This commit is contained in:
+8
@@ -44,6 +44,14 @@ interface AppPreferencesStore {
|
||||
/** The name of the chosen theme, or `null` when the user has not picked one and the system setting should be followed. */
|
||||
fun getThemeFlow(): Flow<String?>
|
||||
|
||||
/**
|
||||
* @param expanded true to expand the other accounts section.
|
||||
*/
|
||||
suspend fun setOtherAccountsExpanded(expanded: Boolean)
|
||||
|
||||
/** Whether the other accounts section is expanded; defaults to `true`. */
|
||||
fun isOtherAccountsExpandedFlow(): Flow<Boolean>
|
||||
|
||||
/**
|
||||
* @param value the distance in metres the user must move before a new live location is published.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user