-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from poppingmoon/remove-display-name
remove displayName
- Loading branch information
Showing
4 changed files
with
19 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
enum Origin { | ||
local("ローカル"), | ||
remote("リモート"), | ||
combined("全て"); | ||
|
||
final String displayName; | ||
|
||
const Origin(this.displayName); | ||
local, | ||
remote, | ||
combined, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,6 @@ | ||
enum ReactionAcceptance { | ||
likeOnlyForRemote("全て(リモートはいいねのみ)"), | ||
nonSensitiveOnly("非センシティブのみ"), | ||
nonSensitiveOnlyForLocalLikeOnlyForRemote("非センシティブのみ(リモートはいいねのみ)"), | ||
likeOnly("いいねのみ"); | ||
|
||
const ReactionAcceptance(this.displayName); | ||
|
||
final String displayName; | ||
likeOnlyForRemote, | ||
nonSensitiveOnly, | ||
nonSensitiveOnlyForLocalLikeOnlyForRemote, | ||
likeOnly, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
enum UsersSortType { | ||
followerAscendant("-follower", "フォロワーが少ない順"), | ||
followerDescendant("+follower", "フォロワーが多い順"), | ||
createdAtAscendant("-createdAt", "古い順"), | ||
createdAtDescendant("+createdAt", "新しい順"), | ||
updateAtAscendant("-updatedAt", "更新されていない順"), | ||
updateAtDescendant("+updatedAt", "更新された順"); | ||
followerAscendant("-follower"), | ||
followerDescendant("+follower"), | ||
createdAtAscendant("-createdAt"), | ||
createdAtDescendant("+createdAt"), | ||
updateAtAscendant("-updatedAt"), | ||
updateAtDescendant("+updatedAt"); | ||
|
||
final String value; | ||
final String displayName; | ||
const UsersSortType(this.value, this.displayName); | ||
const UsersSortType(this.value); | ||
} |