mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-15 00:12:22 -06:00
feat: Add detailed view type
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
enum ViewType {
|
||||
grid,
|
||||
list;
|
||||
list,
|
||||
detailed;
|
||||
|
||||
ViewType toggle() {
|
||||
return this == grid ? list : grid;
|
||||
return ViewType.values[(index + 1) % ViewType.values.length];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user