Skip to content

Commit

Permalink
Fix share dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
faisalcodes committed Jan 14, 2024
1 parent a80ff2b commit a74e0c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ public void dismissShareDialog() {
return;
}

mVSD.dismiss();
mVSD.hide();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import com.quranapp.android.components.quran.subcomponents.QuranTranslBookInfo;
import com.quranapp.android.components.quran.subcomponents.Translation;
import com.quranapp.android.databinding.LytVerseShareBinding;
import com.quranapp.android.utils.Log;
import com.quranapp.android.utils.extensions.ViewPaddingKt;
import com.quranapp.android.utils.univ.MessageUtils;
import com.quranapp.android.utils.univ.StringUtils;
Expand Down Expand Up @@ -270,6 +271,8 @@ private void prepareNShare(
}
}

Log.d(sb);

if (sb.length() == 0) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
<string name="strLabelOrder">Order</string>
<string name="strLabelSelectedCount" formatted="false">%d selected</string>
<string name="strLabelMoreTranslations" formatted="false">+%d more translations</string>
<string name="strLabelAdvanceSharing">Advance Sharing</string>
<string name="strLabelAdvanceSharing">Advanced Sharing</string>
<string name="strLabelSelectVerse">Select Verses</string>
<string name="strLabelCurrentVerse">Current verse</string>
<string name="strLabelVerseRange">Verse range</string>
Expand Down

0 comments on commit a74e0c3

Please sign in to comment.