Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeBoy committed Dec 20, 2023
1 parent 5086421 commit 4c9d42f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ require (
golang.org/x/text v0.11.0
)

require github.com/yeqown/go-qrcode/v2 v2.2.2 // indirect

require (
decred.org/cspp/v2 v2.1.0 // indirect
decred.org/dcrwallet v1.7.0 // indirect
Expand Down Expand Up @@ -202,7 +200,6 @@ require (
github.com/tyler-smith/go-bip39 v1.1.0 // indirect
github.com/urfave/cli/v2 v2.17.2-0.20221006022127-8f469abc00aa // indirect
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
github.com/yeqown/go-qrcode/writer/standard v1.2.2
github.com/yeqown/reedsolomon v1.0.0 // indirect
github.com/zquestz/grab v0.0.0-20190224022517-abcee96e61b1 // indirect
golang.org/x/exp v0.0.0-20230206171751-46f607a40771 // indirect
Expand Down
4 changes: 0 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1613,10 +1613,6 @@ github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod h1:N3UwUGtsr
github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0/go.mod h1:/LWChgwKmvncFJFHJ7Gvn9wZArjbV5/FppcK2fKk/tI=
github.com/yeqown/go-qrcode v1.5.1 h1:JVt8nVcaLHgvimGPjRviUJ7VpxB1nz7Yn8hh5mZYwl8=
github.com/yeqown/go-qrcode v1.5.1/go.mod h1:C1eAU4Jure3vqD56kqzeSLaX84MHg3fZAMNID4nXX+Y=
github.com/yeqown/go-qrcode/v2 v2.2.2 h1:0comk6jEwi0oWNhKEmzx4JI+Q7XIneAApmFSMKWmSVc=
github.com/yeqown/go-qrcode/v2 v2.2.2/go.mod h1:2Qsk2APUCPne0TsRo40DIkI5MYnbzYKCnKGEFWrxd24=
github.com/yeqown/go-qrcode/writer/standard v1.2.2 h1:gyzunKXgC0ZUpKqQFUImbAEwewAiwNCkxFEKZV80Kt4=
github.com/yeqown/go-qrcode/writer/standard v1.2.2/go.mod h1:bbVRiBJSRPj4UBZP/biLG7JSd9kHqXjErk1eakAMnRA=
github.com/yeqown/reedsolomon v1.0.0 h1:x1h/Ej/uJnNu8jaX7GLHBWmZKCAWjEJTetkqaabr4B0=
github.com/yeqown/reedsolomon v1.0.0/go.mod h1:P76zpcn2TCuL0ul1Fso373qHRc69LKwAw/Iy6g1WiiM=
github.com/yeya24/promlinter v0.1.0/go.mod h1:rs5vtZzeBHqqMwXqFScncpCF6u06lezhZepno9AB1Oc=
Expand Down
2 changes: 1 addition & 1 deletion ui/window.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type WriteClipboard struct {
func CreateWindow(mw *libwallet.AssetsManager, version string, buildDate time.Time) (*Window, error) {
appTitle := giouiApp.Title(values.String(values.StrAppName))
// appSize overwrites gioui's default app size of 'Size(800, 600)'
appSize := giouiApp.Size(values.MobileAppWidth, values.MobileAppHeight)
appSize := giouiApp.Size(values.AppWidth, values.AppHeight)
// appMinSize is the minimum size the app.
appMinSize := giouiApp.MinSize(values.MobileAppWidth, values.MobileAppHeight)
// Display network on the app title if its not on mainnet.
Expand Down

0 comments on commit 4c9d42f

Please sign in to comment.