Commit Graph

89 Commits

Author SHA1 Message Date
1021d2d6a2 Some linting 2024-03-21 12:26:30 +08:00
85caaa7ea3 Use transmission for snackbar, fix issue with ownership of currently viewed item
The list object of the root library view had ownership of the
currently selected item, so object modifications that removed
the item from the current library list (like move or archive)
could cause the object to be released and the current screen
to continue operating on an invalid object.
2024-02-06 11:43:43 +08:00
7bd19658f4 Colors for toolbar items 2023-12-27 10:58:04 +08:00
0bd710e639 Dont allow deleting system labels 2023-12-23 22:25:20 +08:00
98ad40fa6b Settings UI cleanup, stop audio when archiving/deleting 2023-12-23 17:14:24 +08:00
7404386773 More string cleanups 2023-12-23 16:12:14 +08:00
e4850311f4 archive/delete for tts player, use valet to sync hide system labels property
Using valet instead of UserDefaults(suiteName to work around
some potential issues with the extension loading.
2023-12-22 20:11:36 +08:00
43c8e5cabb Use title for the full screen text to speech view 2023-12-07 17:15:53 +08:00
73341ad578 mini player for ipad layouts 2023-12-07 17:15:53 +08:00
663ea1d3f8 Move miniplayer around to work with new layout on iPhone 2023-12-07 17:15:53 +08:00
78652ca5d6 Add 1.3 speed to iOS text to speech 2023-11-27 11:14:01 +08:00
8bd9beebc6 Set playback error if speech file does not download 2023-11-08 20:29:08 +08:00
590fc2ed25 Update iconography and listview for ios, bump android 2023-07-24 12:11:21 +08:00
a93de547b7 Use new style labels in the library 2023-06-01 15:45:27 +08:00
9cd8ecd75b Use 15s as the default skip interval for text to speech 2023-04-17 10:36:17 +08:00
94c0b9adaa More speeds 2023-04-10 15:59:40 +08:00
0787ab6aa0 Faster audio playback rates 2023-04-10 15:59:40 +08:00
8068b11f1e Merge pull request #1830 from sixten/warnings
Address iOS compiler and linter warnings
2023-02-22 11:01:43 +08:00
1650a1dee2 Handle the content inset area at the bottom of newer devices 2023-02-21 16:32:58 +08:00
8156328cf6 fix some linter warnings on deliberate code 2023-02-20 12:15:29 -07:00
60ca0567fa prevent some spurious doc comment warnings 2023-02-20 12:15:29 -07:00
c9296deac4 Update TTS user interface 2023-02-20 22:49:09 +08:00
f8609a1d80 update some local text refs 2023-01-24 14:02:37 -08:00
adf0604c7a remove unused string from .strings files 2023-01-19 19:00:14 -08:00
6622cd281e Remove unused view 2022-12-05 15:39:46 +08:00
3e4f9409df Dont fully close audio player on error
This gives users the ability to change the selected language if
the error was related to language / voice.
2022-12-01 12:50:59 +08:00
983e15bdda Add two slower playback speed options 2022-11-30 21:36:38 +08:00
2b8f1da881 Remove unneeded isPresented check 2022-11-15 08:50:25 +08:00
3d9976e06a WIP: Adding ultra realistic voice support 2022-11-11 15:55:28 +08:00
f14f92499b Dont show the mini player when expanded player is open on iPad landscape 2022-10-21 16:46:53 +08:00
126d79446b Clean up body of expanded audio player, remove dead code 2022-10-21 16:23:27 +08:00
a59c9910a0 Set the tab index when the expanded player is shown 2022-10-21 16:11:13 +08:00
0c7f5174c7 Open the audio player expanded the first time the user uses it. Minimize animation issues 2022-10-21 14:11:26 +08:00
663ccc1dc1 Remove NavigationView so iPad aligns to top of sheet
Also animate the miniplayer away so its not visible on ipad
when open in landscape mode.
2022-10-21 12:23:33 +08:00
578b9c6790 Split the expanded player into a new view and use a sheet to present it 2022-10-20 17:33:25 +08:00
d9c91c3137 Reset tabIndex when state is reset to loading
We track the state of the current index in two places: the audio
controller, which updates as audio as played, the tabView has its
own binding of the current index, this is to allow scrolling.

When the audio item being played changes, we need to reset the
state of the tabIndex. We do this by watching for state loading
which occurs when new audio is loaded.
2022-10-13 15:37:37 +08:00
fe1f4ee51d Update the scrubber max value when items change 2022-10-13 15:20:28 +08:00
bafe1bd338 Ensure the audio index is updated when items are changed 2022-10-13 15:04:57 +08:00
2e9bda7835 Dont instantiate TabView with zero items
Seems this prevents the crash when the TabView tries to set
its index to 0/0.
2022-10-13 14:02:17 +08:00
8fcbfbbd2e fixes after rebasing 2022-10-12 12:58:32 -07:00
c287eb4a59 add os conditionals so the mac app compiles 2022-10-12 10:11:09 -07:00
f047775532 Improve the replay button, give an overlay behind so its easier to see 2022-10-11 16:41:23 +08:00
476d44fbb4 Try to prevent index out of bounds issues with the tab controller 2022-10-11 16:34:52 +08:00
7267f07880 Use a new modal for search 2022-10-11 11:27:33 +08:00
42b0921ab6 More work on the player UI, more consistent nav bar item sizing 2022-10-06 12:34:16 +08:00
ca725b4908 Improve text to speech follow UX 2022-10-06 12:34:15 +08:00
b983a4336b Dont try to highlight beyond the last item despite speech marks offset data 2022-10-06 12:34:15 +08:00
f9e2809a10 WIP: follow along text for tts 2022-10-06 12:34:15 +08:00
12395c2385 Dont show the language changer on the settings voice picker 2022-09-27 16:29:46 +08:00
8e1ac67d80 Use a UIViewRepresentable to set slider images instead of introspection
The slider was losing the custom images when being opened/closed
sometimes because introspection doesn't get called.
2022-09-27 16:22:02 +08:00