feat(android): route field app through modern theme
This commit is contained in:
@@ -74,7 +74,7 @@ fun DhRoot(model: MainViewModel, activity: FragmentActivity) {
|
|||||||
if (model.session == null) unlocked = false
|
if (model.session == null) unlocked = false
|
||||||
}
|
}
|
||||||
|
|
||||||
MaterialTheme {
|
DhTheme {
|
||||||
Surface(Modifier.fillMaxSize()) {
|
Surface(Modifier.fillMaxSize()) {
|
||||||
when {
|
when {
|
||||||
model.session == null -> EnhancedLoginScreen(model) {
|
model.session == null -> EnhancedLoginScreen(model) {
|
||||||
@@ -91,7 +91,7 @@ fun DhRoot(model: MainViewModel, activity: FragmentActivity) {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
model.fieldFindingOptions != null -> FieldFindingScreen(model)
|
model.fieldFindingOptions != null -> FieldFindingScreen(model)
|
||||||
model.visit != null -> DynamicVisitRoot(model)
|
model.visit != null -> ModernVisitRoot(model)
|
||||||
else -> MobileHomeScreen(model)
|
else -> MobileHomeScreen(model)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user