完全替换为Rave Now,只保留了Google Play的密钥还有一些图片映射还有旧字样。
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:roundIcon="@mipmap/rider_pro_logo_next_round"
|
android:roundIcon="@mipmap/rider_pro_logo_next_round"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.RiderPro"
|
android:theme="@style/Theme.RaveNow"
|
||||||
android:usesCleartextTraffic="true"
|
android:usesCleartextTraffic="true"
|
||||||
tools:targetApi="31">
|
tools:targetApi="31">
|
||||||
<meta-data
|
<meta-data
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ class AuthInterceptor() : Interceptor {
|
|||||||
.addConverterFactory(GsonConverterFactory.create())
|
.addConverterFactory(GsonConverterFactory.create())
|
||||||
.client(getUnsafeOkHttpClient())
|
.client(getUnsafeOkHttpClient())
|
||||||
.build()
|
.build()
|
||||||
.create(RiderProAPI::class.java)
|
.create(RaveNowAPI::class.java)
|
||||||
|
|
||||||
val resp = client.refreshToken(AppStore.token ?: "")
|
val resp = client.refreshToken(AppStore.token ?: "")
|
||||||
val newToken = resp.body()?.token
|
val newToken = resp.body()?.token
|
||||||
@@ -118,8 +118,8 @@ object ApiClient {
|
|||||||
.addConverterFactory(GsonConverterFactory.create())
|
.addConverterFactory(GsonConverterFactory.create())
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
val api: RiderProAPI by lazy {
|
val api: RaveNowAPI by lazy {
|
||||||
retrofit.create(RiderProAPI::class.java)
|
retrofit.create(RaveNowAPI::class.java)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun formatTime(date: Date): String {
|
fun formatTime(date: Date): String {
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ data class UpdateChatNotificationRequestBody(
|
|||||||
val strategy: String,
|
val strategy: String,
|
||||||
)
|
)
|
||||||
|
|
||||||
interface RiderProAPI {
|
interface RaveNowAPI {
|
||||||
@POST("register")
|
@POST("register")
|
||||||
suspend fun register(@Body body: RegisterRequestBody): Response<Unit>
|
suspend fun register(@Body body: RegisterRequestBody): Response<Unit>
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ package com.aiosman.ravenow.ui.index.tabs.shorts
|
|||||||
import androidx.compose.material3.MaterialTheme
|
import androidx.compose.material3.MaterialTheme
|
||||||
import androidx.compose.material3.Surface
|
import androidx.compose.material3.Surface
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import com.aiosman.ravenow.ui.theme.RiderProTheme
|
import com.aiosman.ravenow.ui.theme.RaveNowTheme
|
||||||
|
|
||||||
val videoUrls = listOf(
|
val videoUrls = listOf(
|
||||||
"https://api.rider-pro.com/test/shorts/1.mp4",
|
"https://api.rider-pro.com/test/shorts/1.mp4",
|
||||||
@@ -57,7 +57,7 @@ val videoUrls = listOf(
|
|||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun ShortVideo() {
|
fun ShortVideo() {
|
||||||
RiderProTheme {
|
RaveNowTheme {
|
||||||
Surface(color = MaterialTheme.colorScheme.background) {
|
Surface(color = MaterialTheme.colorScheme.background) {
|
||||||
ShortViewCompose(
|
ShortViewCompose(
|
||||||
videoItemsUrl = videoUrls,
|
videoItemsUrl = videoUrls,
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ fun LoginPage() {
|
|||||||
Text(
|
Text(
|
||||||
"Your Night Starts Here",
|
"Your Night Starts Here",
|
||||||
fontSize = 20.sp,
|
fontSize = 20.sp,
|
||||||
fontWeight = FontWeight.W600,
|
fontWeight = FontWeight.W700,
|
||||||
color = AppColors.text
|
color = AppColors.text
|
||||||
)
|
)
|
||||||
Spacer(modifier = Modifier.height(8.dp))
|
Spacer(modifier = Modifier.height(8.dp))
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ fun SignupScreen() {
|
|||||||
fontSize = 28.sp,
|
fontSize = 28.sp,
|
||||||
fontWeight = FontWeight.Bold
|
fontWeight = FontWeight.Bold
|
||||||
)
|
)
|
||||||
Text("Your Night Starts Here".uppercase(), fontSize = 20.sp, fontWeight = FontWeight.W600)
|
Text("Your Night Starts Here".uppercase(), fontSize = 20.sp, fontWeight = FontWeight.W700)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ fun SplashScreen() {
|
|||||||
fontSize = 28.sp,
|
fontSize = 28.sp,
|
||||||
fontWeight = FontWeight.Bold
|
fontWeight = FontWeight.Bold
|
||||||
)
|
)
|
||||||
Text("Your Night Starts Here".uppercase(), fontSize = 20.sp, fontWeight = FontWeight.W600)
|
Text("Your Night Starts Here".uppercase(), fontSize = 20.sp, fontWeight = FontWeight.W700)
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ private val LightColorScheme = lightColorScheme(
|
|||||||
)
|
)
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun RiderProTheme(
|
fun RaveNowTheme(
|
||||||
darkTheme: Boolean = isSystemInDarkTheme(),
|
darkTheme: Boolean = isSystemInDarkTheme(),
|
||||||
// Dynamic color is available on Android 12+
|
// Dynamic color is available on Android 12+
|
||||||
dynamicColor: Boolean = true,
|
dynamicColor: Boolean = true,
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<string name="back_upper">BACK</string>
|
<string name="back_upper">BACK</string>
|
||||||
<string name="text_hint_confirm_password">Enter your password again</string>
|
<string name="text_hint_confirm_password">Enter your password again</string>
|
||||||
<string name="login_confirm_password_label">Confirm password</string>
|
<string name="login_confirm_password_label">Confirm password</string>
|
||||||
<string name="agree_terms_of_service">Yes, I have read and agree to RiderPro’s Privacy Policy.</string>
|
<string name="agree_terms_of_service">Yes, I have read and agree to RaveNow’s Privacy Policy.</string>
|
||||||
<string name="agree_promotion">Yes, I want to be added to the Rave Now mailing list.</string>
|
<string name="agree_promotion">Yes, I want to be added to the Rave Now mailing list.</string>
|
||||||
<string name="text_error_email_format">Invalid email</string>
|
<string name="text_error_email_format">Invalid email</string>
|
||||||
<string name="text_error_password_format">The password must be at least 8 characters long and contain a combination of uppercase letters, lowercase letters, and numbers.</string>
|
<string name="text_error_password_format">The password must be at least 8 characters long and contain a combination of uppercase letters, lowercase letters, and numbers.</string>
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources>
|
||||||
<style name="Theme.RiderPro" parent="android:Theme.Material.Light.NoActionBar" >
|
<style name="Theme.RaveNow" parent="android:Theme.Material.Light.NoActionBar" >
|
||||||
<item name="android:windowNoTitle">true</item>
|
<item name="android:windowNoTitle">true</item>
|
||||||
<item name="android:windowIsTranslucent">true</item>
|
<item name="android:windowIsTranslucent">true</item>
|
||||||
<item name="android:windowBackground">@color/activity_background</item>
|
<item name="android:windowBackground">@color/activity_background</item>
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
<item name="android:windowNoTitle">true</item>
|
<item name="android:windowNoTitle">true</item>
|
||||||
<item name="windowSplashScreenBackground">@color/splash_background</item>
|
<item name="windowSplashScreenBackground">@color/splash_background</item>
|
||||||
<item name="windowSplashScreenAnimatedIcon">@mipmap/rider_pro_logo_next_round</item>
|
<item name="windowSplashScreenAnimatedIcon">@mipmap/rider_pro_logo_next_round</item>
|
||||||
<item name="postSplashScreenTheme">@style/Theme.RiderPro</item>
|
<item name="postSplashScreenTheme">@style/Theme.RaveNow</item>
|
||||||
<item name="android:windowBackground">@color/activity_background</item>
|
<item name="android:windowBackground">@color/activity_background</item>
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -19,5 +19,5 @@ dependencyResolutionManagement {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = "RiderPro"
|
rootProject.name = "RaveNow"
|
||||||
include(":app")
|
include(":app")
|
||||||
|
|||||||
Reference in New Issue
Block a user