0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00
Commit Graph

12788 Commits

Author SHA1 Message Date
AnkiDroid Translations
7094a2afaa
Updated strings from Crowdin
(cherry picked from commit 2755576748)
2021-07-04 23:17:48 -05:00
Akshay
2e3dcae3b3
dropped AnkiActivity from CreateDeckDialogTest
(cherry picked from commit a57f063018)
2021-07-04 23:14:00 -05:00
AnkiDroid Translations
20066da5f3
Updated strings from Crowdin
(cherry picked from commit bf9b7b0b30)
2021-07-04 23:13:38 -05:00
AnkiDroid Translations
b66ec00754
Updated strings from Crowdin
(cherry picked from commit 1687817531)
2021-07-04 23:13:19 -05:00
AnkiDroid Translations
d5904ecee9
Updated strings from Crowdin
(cherry picked from commit fdf5583373)
2021-07-04 23:13:01 -05:00
Shridhar
8986586bc3
Remove boolean check in onProgressUpdate of DeckPicker
(cherry picked from commit 28e97b2992)
2021-07-04 23:12:44 -05:00
Shridhar
78ed572720
Fix crash on opening StudyOptionsFragment
(cherry picked from commit 4c61998246)
2021-07-04 23:12:18 -05:00
Mike Hardy
b752c5e26c
Revert "Revert "Add preference for full screen navigation drawer (#9015)""
This reverts commit 0f8e9fd6f7.
2021-07-04 23:10:27 -05:00
Mike Hardy
e323c5291f
Revert "Revert "Display study options properly on start on tablet (#8756)""
This reverts commit b559521a06.
2021-07-04 23:10:11 -05:00
AnkiDroid Translations
517db207b3
Updated strings from Crowdin
(cherry picked from commit bd9d4065fd)
2021-06-03 11:13:28 -05:00
David Allison
631c50888b
lint: DeckPickerFloatingActionMenu
(cherry picked from commit 2ca4938b4f)
2021-06-03 11:13:28 -05:00
David Allison
c8d19d621f
fix: make FAB labels clickable
This confused some users

fixes 9051

(cherry picked from commit 3dd64aa59a)
2021-06-03 11:13:24 -05:00
Mike Hardy
9dece41eb5
Bumped version to 2.15.4
@branch-specific
2021-06-02 15:51:44 -05:00
Mike Hardy
0f8e9fd6f7
Revert "Add preference for full screen navigation drawer (#9015)"
This reverts commit 4e914eae50.
2021-06-02 15:33:30 -05:00
Mike Hardy
b559521a06
Revert "Display study options properly on start on tablet (#8756)"
This reverts commit 6a0b1d38e5.
2021-06-02 15:09:48 -05:00
Shridhar Goel
6a0b1d38e5
Display study options properly on start on tablet (#8756)
* Display study options properly on start on tablet
* Add test

Co-authored-by: David Allison <62114487+david-allison-1@users.noreply.github.com>
(cherry picked from commit ca3aabe0c9)
2021-06-02 13:34:29 -05:00
Shridhar
180dfbe785
Update list when field reposition is done
(cherry picked from commit a05cf4efa3)
2021-06-02 13:25:52 -05:00
Mike Hardy
df27a1604a
Bumped version to 2.15.3
@branch-specific
2021-06-02 10:29:35 -05:00
Prateek Singh
f3ec41325a
Fixed Cloze text preview
(cherry picked from commit 658653ad28)
2021-06-02 08:17:22 -05:00
AnkiDroid Translations
b232d0da19
Updated strings from Crowdin
(cherry picked from commit 8c89c4c44b)
2021-06-02 08:14:41 -05:00
Shridhar Goel
59f895e7b0
Fix for empty search results and wrong card count (#8998)
* Fix for empty search results and wrong card count
* Add test

(cherry picked from commit 1bdd80e9b1)
2021-06-01 23:03:04 -05:00
Shridhar Goel
4e914eae50
Add preference for full screen navigation drawer (#9015)
(cherry picked from commit d0d1eddf60)
2021-06-01 23:00:41 -05:00
David Allison
3de30a3d4b
fix: don't clear text when opening nav bar
We do this with a temporary variable containing the current value
of the search bar.

There was a bug with setting this temporary, which we also fix:

Toggling the navbar called supportInvalidateOptionsMenu
This calls through to SearchView: as follows:

supportInvalidateOptionsMenu => MenuBuilder.clear()
MenuBuilder.clear() => collapseItemActionView(mExpandedItem);
=> onActionViewCollapsed
=> setQuery("", false);

We had a listener on setQuery, which then blanked the temp variable.
class: CardBrowserSearchView fixes this, by ignoring these methods
if it's triggered by collapse/expand

Fixes 9010

(cherry picked from commit a5363a2082)
2021-06-01 22:55:09 -05:00
David Allison
4a669169ea
NF: duplicate call to mSearchView.setQuery
Doesn't matter for now, but will do when we change
the two methods to do different things

Related: 9010
(cherry picked from commit 30ad7fc032)
2021-06-01 22:55:09 -05:00
Prateek Singh
f1641e1107
Fixed Bug #8973
(cherry picked from commit a4ab14c0f4)
2021-06-01 13:13:55 -05:00
Shridhar
2b5d0b2ed9
Fix link to help section of cloze deletion
(cherry picked from commit 2ac0e8b80f)
2021-06-01 13:04:03 -05:00
Shridhar
32dde12802
Add padding to undo icon
(cherry picked from commit 8ed613568e)
2021-06-01 09:13:53 -05:00
Arthur Milchior
221b5eb506
Uses legacy template if a template start with "{{=<% %>=}}"
(cherry picked from commit dcc29bce56)
2021-06-01 09:07:14 -05:00
Arthur Milchior
a1816d860f
NF: next_token may consider <%
(cherry picked from commit d3ea492f65)
2021-06-01 09:07:13 -05:00
Arthur Milchior
fb5f6a02be
NF: add new_text_token, new_and_legacy_text_token and tests
(cherry picked from commit d8c40f0c13)
2021-06-01 09:07:13 -05:00
Arthur Milchior
a53d6fdbde
NF: handlebar_token which can accept or reject <%
(cherry picked from commit 71b715c058)
2021-06-01 09:07:13 -05:00
Arthur Milchior
87993d48c8
NF: add legacy_handlebar_token
(cherry picked from commit 29d3f9d8bb)
2021-06-01 09:07:12 -05:00
Arthur Milchior
3773d62822
NF: new_to_legacy:
Util method to transform a template into a legacy template, for test purposes

(cherry picked from commit e9648b2525)
2021-06-01 09:07:12 -05:00
Arthur Milchior
89f091673c
NF: rename handlebar_token to new_handlebar_token
(cherry picked from commit d4d9fb39c2)
2021-06-01 09:07:11 -05:00
Arthur Milchior
4da8c4c8f3
NF: generalize handlebar_token
(cherry picked from commit 901a42b2ec)
2021-06-01 09:07:11 -05:00
David Allison
34ff68f739
fix[Lookup Icon]: increase size
In conversion to SVG, the icon had dimensions changed

On my Android, it came in at 160px, which was roughly 60dp

Fixes 8997
2021-05-31 09:02:25 -05:00
David Allison
a8b4a7297c
fix[Notification Icon]: increase size
In conversion to SVG, the icon had whitespace increased

Reduce it back to what it was

Related: 8997
(cherry picked from commit 5defe65b6b)
2021-05-31 09:02:05 -05:00
David Allison
e0d8abee3d
fix[Audio Import]: mpeg converted to mp3
Cause: we converted "a.mp3" to "a_mp3"
which failed the file type conversion

Fixes 9008
Alleviates 9023

(cherry picked from commit fd8fac37e7)
2021-05-30 21:51:18 -05:00
Arthur Milchior
72b414c40b
NF: factorize test_emptyness
(cherry picked from commit a18acbd303)
2021-05-30 16:51:34 -05:00
Arthur Milchior
8f68a11f01
NF: factorize test_parsing
(cherry picked from commit 1f76675b69)
2021-05-30 16:51:33 -05:00
Arthur Milchior
416daf49b2
NF: Factorize test_render
(cherry picked from commit 945cd40a2e)
2021-05-30 16:51:33 -05:00
Arthur Milchior
bcbe95a3ec
NF: factorize next_token test
(cherry picked from commit 942386bb30)
2021-05-30 16:51:32 -05:00
Arthur Milchior
2ba2168d54
NF: factorize handlebar_token
(cherry picked from commit 36f033eb68)
2021-05-30 16:51:32 -05:00
Arthur Milchior
275fabbc72
NF: factorize classify_handle test
(cherry picked from commit 125f8003b7)
2021-05-30 16:51:32 -05:00
Arthur Milchior
e944151f7b
NF: factorize text_token
(cherry picked from commit c1b7263a76)
2021-05-30 16:51:31 -05:00
Arthur Milchior
27dadb321b
NF: replace Mathers.is by is
(cherry picked from commit e7ec26846c)
2021-05-30 16:51:31 -05:00
Arthur Milchior
76acd600ea
NF: ensure qualifiers is en for missingExclamation
(cherry picked from commit 114cba5a1e)
2021-05-30 16:46:36 -05:00
Arthur Milchior
787a72d8f0
NF: correctly initialize mFailed
(cherry picked from commit e7ca2905c8)
2021-05-30 16:46:35 -05:00
Peyman-hme
d8058c1f11
add a space to a line of code
(cherry picked from commit 606a5d6ef1)
2021-05-30 09:41:24 -05:00
Peyman-hme
fb509ba945
Fix show floating point numbers for steps in DeckOptions
(cherry picked from commit eea660d236)
2021-05-30 09:41:23 -05:00