Improved activity page

This commit is contained in:
2021-11-23 15:47:25 +09:00
parent 1cf4e6a1ae
commit 0f5f18db0c
12 changed files with 113 additions and 32 deletions

View File

@ -37,10 +37,16 @@ type Settings struct {
Notification NotificationSettings `json:"notification"`
Editor EditorSettings `json:"editor"`
Privacy PrivacySettings `json:"privacy"`
Activity ActivitySettings `json:"activity"`
Calendar CalendarSettings `json:"calendar" editable:"true"`
Theme string `json:"theme" editable:"true"`
}
// ActivitySettings ...
type ActivitySettings struct {
ShowFollowedOnly bool `json:"showFollowedOnly" editable:"true"`
}
// PrivacySettings ...
type PrivacySettings struct {
ShowAge bool `json:"showAge" editable:"true"`