mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Make web app display mode configurable
The change is visible after reinstalling the web app. It's not compatible with all browsers. See https://developer.mozilla.org/en-US/docs/Web/Manifest/display
This commit is contained in:
parent
053b1d0f8d
commit
0d935a863f
23 changed files with 182 additions and 12 deletions
|
@ -14,6 +14,7 @@ func TestValid(t *testing.T) {
|
|||
Timezone: "UTC",
|
||||
EntryDirection: "asc",
|
||||
EntriesPerPage: 50,
|
||||
DisplayMode: "standalone",
|
||||
}
|
||||
|
||||
err := settings.Validate()
|
||||
|
@ -32,6 +33,7 @@ func TestConfirmationEmpty(t *testing.T) {
|
|||
Timezone: "UTC",
|
||||
EntryDirection: "asc",
|
||||
EntriesPerPage: 50,
|
||||
DisplayMode: "standalone",
|
||||
}
|
||||
|
||||
err := settings.Validate()
|
||||
|
@ -54,6 +56,7 @@ func TestConfirmationIncorrect(t *testing.T) {
|
|||
Timezone: "UTC",
|
||||
EntryDirection: "asc",
|
||||
EntriesPerPage: 50,
|
||||
DisplayMode: "standalone",
|
||||
}
|
||||
|
||||
err := settings.Validate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue