mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
feat: show success toast when segment was submitted successfully
This commit is contained in:
parent
b53e4d2663
commit
f84ec13f58
@ -91,6 +91,7 @@ class SubmitSegmentDialog : DialogFragment() {
|
||||
RetrofitInstance.externalApi
|
||||
.submitSegment(videoId, startTime, endTime, category, userAgent, uuid, duration)
|
||||
}
|
||||
context.toastFromMainDispatcher(R.string.segment_submitted)
|
||||
} catch (e: Exception) {
|
||||
Log.e(TAG(), e.toString())
|
||||
context.toastFromMainDispatcher(e.localizedMessage.orEmpty())
|
||||
|
@ -451,6 +451,7 @@
|
||||
<string name="same_as_fullscreen">Same as fullscreen</string>
|
||||
<string name="playback_during_call">Continue playback during phone call</string>
|
||||
<string name="playback_during_call_summary">Note that this also affects the app to not handle any kind of audio focus anymore.</string>
|
||||
<string name="segment_submitted">Segment submitted</string>
|
||||
|
||||
<!-- Backup & Restore Settings -->
|
||||
<string name="import_subscriptions_from">Import subscriptions from</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user