mirror of
https://github.com/FoggedLens/deflock-app.git
synced 2026-09-30 21:19:42 +02:00
Fix opentopomap x/y, allow searching in release when not offline
This commit is contained in:
1 parent
731cdc4a4b
commit
111bdc4254
6 files changed
+93
-39
No files matched your search
@@ -522,15 +522,15 @@ class _HomeScreenState extends State<HomeScreen> with TickerProviderStateMixin {
|
||||
sheetHeight: activeSheetHeight,
|
||||
selectedNodeId: _selectedNodeId,
|
||||
onNodeTap: openNodeTagSheet,
|
||||
onSearchPressed: kEnableNavigationFeatures ? _onNavigationButtonPressed : null,
|
||||
onSearchPressed: (enableSearchFeatures(offlineMode: appState.offlineMode) || enableNavigationFeatures(offlineMode: appState.offlineMode)) ? _onNavigationButtonPressed : null,
|
||||
onUserGesture: () {
|
||||
if (appState.followMeMode != FollowMeMode.off) {
|
||||
appState.setFollowMeMode(FollowMeMode.off);
|
||||
}
|
||||
},
|
||||
),
|
||||
// Search bar (slides in when in search mode) - only in dev mode
|
||||
if (kEnableNavigationFeatures && appState.isInSearchMode)
|
||||
// Search bar (slides in when in search mode) - available based on feature flags
|
||||
if (enableSearchFeatures(offlineMode: appState.offlineMode) && appState.isInSearchMode)
|
||||
Positioned(
|
||||
top: 0,
|
||||
left: 0,
|
||||
|
||||
Reference in new issue
Block a user