settings_config: Pass settings object as parameter to all_notifications.

We pass user_settings object to all_notifications and
get_notifications_table_row_data such that we can use these
functions for realm-level settings also.
This commit is contained in:
Sahil Batra
2021-08-27 19:16:23 +05:30
committed by Tim Abbott
parent de1aa25059
commit 8b9b0638c6
6 changed files with 32 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
type UserSettingsType = {
export type UserSettingsType = {
color_scheme: number;
default_language: string;
default_view: string;