Skip to content

Commit

Permalink
Update test to check old structure (without padding)
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Sep 11, 2023
1 parent 8827c24 commit 92f62dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/driver/mobile/menu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func TestMobileCanvas_DismissBar(t *testing.T) {

func TestMobileCanvas_DismissMenu(t *testing.T) {
c := NewCanvas().(*mobileCanvas)
c.padded = false
c.SetContent(canvas.NewRectangle(theme.BackgroundColor()))
menu := fyne.NewMainMenu(
fyne.NewMenu("Test", fyne.NewMenuItem("TapMe", func() {})))
Expand Down

0 comments on commit 92f62dc

Please sign in to comment.