mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
Rework the mobile UIs on native components and fix layout bugs everywhere.
Android moves to Material 3 (navigation bar, app bars, list items, bottom sheets, pager) with a real back stack. iOS hides the tab bar in exercises so the bottom action is reachable, aligns content, and uses system colours so themes and dark mode work. Both pick a readable accent tint. Desktop keeps the VLSM table inside the window and gives statistics the same header rhythm as other pages. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
a1abac51f5
commit
0621311b4c
25 changed files with 1965 additions and 1836 deletions
|
|
@ -22,7 +22,7 @@ struct NativeRoot: View {
|
|||
tabs
|
||||
}
|
||||
}
|
||||
.tint(vm.palette.accent)
|
||||
.tint(vm.palette.tint)
|
||||
.preferredColorScheme(vm.mode == .dark ? .dark : .light)
|
||||
.onAppear { vm.checkUpdate(false) }
|
||||
}
|
||||
|
|
@ -151,7 +151,7 @@ struct RouteDestination: View {
|
|||
case .mluvnice:
|
||||
LessonListScreen(
|
||||
title: vm.tr("Mluvnice"),
|
||||
subtitle: "Cvičení z mluvnice",
|
||||
subtitle: vm.tr("mluv_sub"),
|
||||
rows: vm.content.mluvnice.map { m in
|
||||
let n = m.int("id")
|
||||
return LessonRow(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue