mirror of
https://github.com/kalarina-bit/Sparkledns.git
synced 2026-11-22 07:36:09 +00:00
Improve Home, Activity and tablet layout
- Content keeps a readable width on tablets; Home and Activity show two columns on wide screens - Home chart: bars per hour or per day, a working 24 h / 7 d switch, a message instead of an empty chart, and more height on tall screens - Company dominance waits for 50 requests and shows whole percents - Home offers to turn on HaGeZi Pro when no list is on, or blocking when it is off - Tapping the server on Home opens the server list; the ON/OFF switch gives haptic feedback
This commit is contained in:
@@ -101,6 +101,7 @@ fun AppShell() {
|
||||
Screen.HOME -> HomeScreen(
|
||||
bottomPadding = tabBottom,
|
||||
onOpenBlocklist = { page = Screen.BLOCKLIST },
|
||||
onOpenServers = { tab = Screen.SETTINGS },
|
||||
modifier = modifier,
|
||||
)
|
||||
Screen.ACTIVITY -> ActivityScreen(bottomPadding = tabBottom, modifier = modifier)
|
||||
|
||||
Reference in New Issue
Block a user