mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-23 15:02:28 +00:00
Merge branch 'pr-482'
This commit is contained in:
1 file changed
+8
-8
@@ -198,6 +198,14 @@ class Guild extends SnowFlake {
|
||||
welcomeScreen?: welcomeScreen;
|
||||
static readonly contextmenu = new Contextmenu<Guild, void>("guild menu");
|
||||
static setupcontextmenu() {
|
||||
Guild.contextmenu.addButton(
|
||||
() => I18n.guild.markRead(),
|
||||
function (this: Guild) {
|
||||
this.markAsRead();
|
||||
},
|
||||
);
|
||||
Guild.contextmenu.addSeperator();
|
||||
|
||||
Guild.contextmenu.addButton(
|
||||
() => I18n.guild.makeInvite(),
|
||||
function (this: Guild) {
|
||||
@@ -212,14 +220,6 @@ class Guild extends SnowFlake {
|
||||
color: "blue",
|
||||
},
|
||||
);
|
||||
Guild.contextmenu.addSeperator();
|
||||
|
||||
Guild.contextmenu.addButton(
|
||||
() => I18n.guild.markRead(),
|
||||
function (this: Guild) {
|
||||
this.markAsRead();
|
||||
},
|
||||
);
|
||||
|
||||
Guild.contextmenu.addButton(
|
||||
() => I18n.guild.notifications(),
|
||||
|
||||
Reference in new issue
Block a user