fix(ui): display selected device name when add devices in DetailGroupScreen
This commit is contained in:
@@ -62,8 +62,10 @@ class _MainScreenState extends State<MainScreen> with WidgetsBindingObserver {
|
||||
}
|
||||
if (theme == AppThemes.LIGHT.name) {
|
||||
isLight = true;
|
||||
} else {
|
||||
} else if (theme == AppThemes.DARK.name) {
|
||||
isLight = false;
|
||||
} else {
|
||||
isLight = true;
|
||||
}
|
||||
mainBloc.sinkIsVNIcon.add(isVN);
|
||||
mainBloc.sinkThemeMode.add(isLight);
|
||||
@@ -325,7 +327,7 @@ class _MainScreenState extends State<MainScreen> with WidgetsBindingObserver {
|
||||
controller: controller,
|
||||
screens: _buildScreens(),
|
||||
items: _navBarsItems(),
|
||||
handleAndroidBackButtonPress: true,
|
||||
handleAndroidBackButtonPress: false,
|
||||
resizeToAvoidBottomInset: true,
|
||||
stateManagement: true,
|
||||
backgroundColor:
|
||||
|
||||
Reference in New Issue
Block a user