Skip to content

Commit

Permalink
Merge branch 'main' into hotfix/pop-screen-when-selection-listening
Browse files Browse the repository at this point in the history
  • Loading branch information
ghassenbenzahra123 authored Dec 1, 2024
2 parents fb60707 + da6736a commit 236d8a8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lib/src/pages/quran/reading/quran_reading_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,6 @@ class NormalViewStrategy implements QuranViewStrategy {
) {
if (isPortrait) {
return [
BackButtonWidget(
isPortrait: isPortrait,
userPrefs: userPrefs,
focusNode: focusNodes.backButtonNode,
),
SurahSelectorWidget(
isPortrait: isPortrait,
focusNode: focusNodes.surahSelectorNode,
Expand All @@ -157,15 +152,15 @@ class NormalViewStrategy implements QuranViewStrategy {
focusNode: focusNodes.switchQuranNode,
isThereCurrentDialogShowing: false,
),
BackButtonWidget(
isPortrait: isPortrait,
userPrefs: userPrefs,
focusNode: focusNodes.backButtonNode,
),
];
}

return [
BackButtonWidget(
isPortrait: isPortrait,
userPrefs: userPrefs,
focusNode: focusNodes.backButtonNode,
),
_buildNavigationButtons(
context,
focusNodes,
Expand All @@ -188,6 +183,11 @@ class NormalViewStrategy implements QuranViewStrategy {
focusNode: focusNodes.switchQuranNode,
isThereCurrentDialogShowing: false,
),
BackButtonWidget(
isPortrait: isPortrait,
userPrefs: userPrefs,
focusNode: focusNodes.backButtonNode,
),
];
}

Expand Down

0 comments on commit 236d8a8

Please sign in to comment.