diff --git a/app/src/main/java/zechs/drive/stream/ui/code/DialogCode.kt b/app/src/main/java/zechs/drive/stream/ui/code/DialogCode.kt
index ad45902..27e99a2 100644
--- a/app/src/main/java/zechs/drive/stream/ui/code/DialogCode.kt
+++ b/app/src/main/java/zechs/drive/stream/ui/code/DialogCode.kt
@@ -32,7 +32,7 @@ class DialogCode(
val authCode = codeText.editText!!.text.toString()
if (authCode.isEmpty()) {
- showToast(context.getString(R.string.please_enter_auth_code))
+ showToast(context.getString(R.string.please_enter_auth_url))
} else {
onSubmitClickListener.invoke(authCode)
}
diff --git a/app/src/main/res/layout/dialog_code.xml b/app/src/main/res/layout/dialog_code.xml
index 14c6000..44c5047 100644
--- a/app/src/main/res/layout/dialog_code.xml
+++ b/app/src/main/res/layout/dialog_code.xml
@@ -27,7 +27,7 @@
android:clickable="false"
android:focusable="false"
android:fontFamily="@font/roboto_medium"
- android:text="@string/authorization_code"
+ android:text="@string/authorization_url"
android:textColor="@color/textColor"
android:textSize="21sp"
app:layout_constraintEnd_toEndOf="parent"
@@ -61,7 +61,7 @@
android:layout_marginStart="24dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="24dp"
- android:hint="@string/authorization_code"
+ android:hint="@string/authorization_url_hint"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvExample">
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 3d2bc7b..fcdd103 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -38,11 +38,12 @@
Video
Sign in
Enter authorization code?
- Authorization code
+ Authorization url
+ Authorization url
Submit
- Please enter authorization code
+ Please enter authorization url
Play using
Newer version of app is available. Click to download.
Ex: http://127.0.0.1:53682/?code=4/0BX2XfWi1VC9Iadsaa1hIX80rd17crGFCgyHgR_8rwkrIRJJf18LlSGbBWeg0wbZJdEZ3tm3A
- Due to recent changes made by Google, it is no longer possible to direct to a page to directly copy authorization code.\n\nYou will need to copy the entire url from the browser address bar. This will page will not load and will show an error.\n\nPlease copy the entire url from the address bar and paste it in the dialog box.
+ Due to recent changes made by Google, it is no longer possible to directly copy authorization code from the webpage after completion of OAuth Flow.\n\nYou will need to copy the entire url from the browser address bar. This page will not load and will show an error.\n\nPlease copy the entire url from the address bar and paste it in the dialog box.
\ No newline at end of file