Skip to content

Commit 1ec6bae

Browse files
committed
iOS crash fix bcoz of homewidget
1 parent bcf0097 commit 1ec6bae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/app/modules/home/controllers/home_controller.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ class HomeController extends GetxController {
6363
_profileSet();
6464
loadDelayTask();
6565
initLanguageAndDarkMode();
66-
handleHomeWidgetClicked();
66+
if (Platform.isAndroid) {
67+
handleHomeWidgetClicked();
68+
}
6769
}
6870

6971
void addListenerToScrollController() {

0 commit comments

Comments
 (0)