Skip to content

Commit 8f4ee6f

Browse files
committed
Added link to discord server
1 parent b7ea4aa commit 8f4ee6f

File tree

1 file changed

+5
-1
lines changed
  • app/src/main/java/com/noobexon/xposedfakelocation/manager/ui/drawer

1 file changed

+5
-1
lines changed

app/src/main/java/com/noobexon/xposedfakelocation/manager/ui/drawer/DrawerContent.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ fun DrawerContent(
5353
DrawerItem(
5454
icon = LineAwesomeIcons.Discord,
5555
label = "Discord",
56-
onClick = { Toast.makeText(context, "Coming soon!", Toast.LENGTH_SHORT).show() }
56+
onClick = {
57+
val intent = Intent(Intent.ACTION_VIEW, Uri.parse("https://discord.gg/8eCRU3KzVS"))
58+
context.startActivity(intent)
59+
onCloseDrawer()
60+
}
5761
)
5862
DrawerItem(
5963
icon = LineAwesomeIcons.Github,

0 commit comments

Comments
 (0)