chore: tweak user settings

This commit is contained in:
Steven
2024-07-23 22:39:05 +08:00
parent 6920313b77
commit 87deeca110
13 changed files with 192 additions and 615 deletions

View File

@ -28,24 +28,11 @@ message UserSetting {
// id is the user id.
int32 id = 1;
enum Locale {
LOCALE_UNSPECIFIED = 0;
LOCALE_EN = 1;
LOCALE_ZH = 2;
LOCALE_FR = 3;
LOCALE_JA = 4;
}
// locale is the user locale.
Locale locale = 2;
string locale = 2;
enum ColorTheme {
COLOR_THEME_UNSPECIFIED = 0;
COLOR_THEME_SYSTEM = 1;
COLOR_THEME_LIGHT = 2;
COLOR_THEME_DARK = 3;
}
// color_theme is the user color theme.
ColorTheme color_theme = 3;
string color_theme = 3;
}
message GetUserSettingRequest {