Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e84e8c2

Browse files
committed
feat: show leetcode domain on sign-in
1 parent feef78d commit e84e8c2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lua/leetcode-ui/group/page/signin.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ local Button = require("leetcode-ui.lines.button.menu")
88
local ExitButton = require("leetcode-ui.lines.button.menu.exit")
99

1010
local cmd = require("leetcode.command")
11+
local config = require("leetcode.config")
1112

1213
local page = Page()
1314

@@ -28,6 +29,8 @@ page:insert(Buttons({
2829
exit,
2930
}))
3031

31-
page:insert(Footer())
32+
local footer = Footer()
33+
footer:append("leetcode." .. config.domain)
34+
page:insert(footer)
3235

3336
return page

0 commit comments

Comments
 (0)