Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@ Rules:

---

## [0.16.0-beta.1] - 2026-05-31

### Changed
- **Navigation — Settings moved to top app bar** — the Settings tab has been removed from the bottom navigation bar. A gear icon button in the top-right of the Home screen app bar now opens Settings, keeping the bottom bar focused on the core destinations: Home, History, (Dashboard,) and Stats.
- **Settings — flat Material list layout** — the expandable accordion card layout has been replaced with a flat Material `ListItem` layout. Each section entry is a dense list row; tapping it opens a dedicated sub-screen with its own top app bar and back arrow, rather than expanding inline.
- **Settings — section headers** — headers (TRACKING, NOTIFICATIONS, etc.) are now `SemiBold`, rendered in the primary colour, with increased top padding (20 dp) to clearly separate grouped items.
- **Settings — navigation items** — items that open a sub-screen show a trailing Chevron Right icon. Items that control a binary setting show a trailing Material Switch that toggles immediately without navigating.
- **Settings — section dividers** — `HorizontalDivider` separates the major setting groups (Tracking, Notifications, Personalisation, Privacy & Data, Widgets, Help & Feedback, About).
- **Settings — icon alignment** — leading icons are constrained to 24×24 dp bounding boxes for consistent vertical alignment across all list items.
- **Settings — standardised background** — list items use the `surface` container colour, removing the "boxed" `surfaceVariant` card look of the old layout.

---

## [0.15.0-beta.1] - 2026-05-31

### Added
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ android {
applicationId = "com.mapgie.goflo"
minSdk = 26
targetSdk = 34
versionCode = 47
versionName = "0.15.0-beta.1"
versionCode = 48
versionName = "0.16.0-beta.1"
}

signingConfigs {
Expand Down
11 changes: 0 additions & 11 deletions app/src/main/java/com/mapgie/goflo/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import androidx.compose.material.icons.filled.BarChart
import androidx.compose.material.icons.filled.Dashboard
import androidx.compose.material.icons.filled.DateRange
import androidx.compose.material.icons.filled.Home
import androidx.compose.material.icons.filled.Settings
import androidx.compose.material3.CircularProgressIndicator
import androidx.compose.material3.Icon
import androidx.compose.material3.NavigationBar
Expand Down Expand Up @@ -175,7 +174,6 @@ private fun MainNavHost(app: GoFloApplication, currentTheme: AppTheme, pendingCa
add(Screen.History.route)
if (dashboardEnabled) add(Screen.Dashboard.route)
add(Screen.Stats.route)
add(Screen.Settings.route)
}
val showBottomBar = bottomNavRoutes.any { currentRoute?.startsWith(it) == true }

Expand Down Expand Up @@ -221,15 +219,6 @@ private fun MainNavHost(app: GoFloApplication, currentTheme: AppTheme, pendingCa
icon = { Icon(Icons.Default.BarChart, contentDescription = "Stats") },
label = { Text("Stats") }
)
NavigationBarItem(
selected = currentRoute == Screen.Settings.route,
onClick = { navController.navigate(Screen.Settings.route) {
popUpTo(navController.graph.findStartDestination().id) { saveState = true }
launchSingleTop = true; restoreState = true
} },
icon = { Icon(Icons.Default.Settings, contentDescription = "Settings") },
label = { Text("Settings") }
)
}
}
}
Expand Down
11 changes: 11 additions & 0 deletions app/src/main/java/com/mapgie/goflo/ui/screens/home/HomeScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Add
import androidx.compose.material.icons.filled.Close
import androidx.compose.material.icons.filled.DateRange
import androidx.compose.material.icons.filled.Settings
import androidx.compose.material3.IconButton
import androidx.compose.material3.Card
import androidx.compose.material3.CardDefaults
import androidx.compose.material3.CenterAlignedTopAppBar
Expand Down Expand Up @@ -159,6 +161,15 @@ fun HomeScreen(
)
}
},
actions = {
IconButton(onClick = { onNavigate(Screen.Settings.route) }) {
Icon(
imageVector = Icons.Default.Settings,
contentDescription = "Settings",
tint = MaterialTheme.colorScheme.onPrimaryContainer
)
}
},
colors = TopAppBarDefaults.centerAlignedTopAppBarColors(
containerColor = MaterialTheme.colorScheme.primaryContainer,
titleContentColor = MaterialTheme.colorScheme.onPrimaryContainer
Expand Down
Loading
Loading