Skip to content

Commit b240a8c

Browse files
committed
not saving dummybook as last book
1 parent ef968f0 commit b240a8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/org/sefaria/sefaria/activities/SuperTextActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ protected void onCreate(Bundle savedInstanceState) {
182182
if(customActionbar != null)//it's already been set
183183
customActionbar.setLang(menuLang);
184184

185-
if (book != null)
185+
if (book != null || book.equals(Book.dummyBook))
186186
Settings.setLastBook(book.title);
187187

188188
//textGestureDetector = new GestureDetectorCompat(this,new TextGestureDetector());

0 commit comments

Comments
 (0)