完全替换为Rave Now,只保留了Google Play的密钥还有一些图片映射还有旧字样。

This commit is contained in:
2024-11-17 20:31:18 +08:00
parent 074244c0f8
commit 4cdb7f28b3
11 changed files with 15 additions and 15 deletions

View File

@@ -15,7 +15,7 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/rider_pro_logo_next_round"
android:supportsRtl="true"
android:theme="@style/Theme.RiderPro"
android:theme="@style/Theme.RaveNow"
android:usesCleartextTraffic="true"
tools:targetApi="31">
<meta-data

View File

@@ -92,7 +92,7 @@ class AuthInterceptor() : Interceptor {
.addConverterFactory(GsonConverterFactory.create())
.client(getUnsafeOkHttpClient())
.build()
.create(RiderProAPI::class.java)
.create(RaveNowAPI::class.java)
val resp = client.refreshToken(AppStore.token ?: "")
val newToken = resp.body()?.token
@@ -118,8 +118,8 @@ object ApiClient {
.addConverterFactory(GsonConverterFactory.create())
.build()
}
val api: RiderProAPI by lazy {
retrofit.create(RiderProAPI::class.java)
val api: RaveNowAPI by lazy {
retrofit.create(RaveNowAPI::class.java)
}
fun formatTime(date: Date): String {

View File

@@ -186,7 +186,7 @@ data class UpdateChatNotificationRequestBody(
val strategy: String,
)
interface RiderProAPI {
interface RaveNowAPI {
@POST("register")
suspend fun register(@Body body: RegisterRequestBody): Response<Unit>

View File

@@ -3,7 +3,7 @@ package com.aiosman.ravenow.ui.index.tabs.shorts
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
import androidx.compose.runtime.Composable
import com.aiosman.ravenow.ui.theme.RiderProTheme
import com.aiosman.ravenow.ui.theme.RaveNowTheme
val videoUrls = listOf(
"https://api.rider-pro.com/test/shorts/1.mp4",
@@ -57,7 +57,7 @@ val videoUrls = listOf(
@Composable
fun ShortVideo() {
RiderProTheme {
RaveNowTheme {
Surface(color = MaterialTheme.colorScheme.background) {
ShortViewCompose(
videoItemsUrl = videoUrls,

View File

@@ -183,7 +183,7 @@ fun LoginPage() {
Text(
"Your Night Starts Here",
fontSize = 20.sp,
fontWeight = FontWeight.W600,
fontWeight = FontWeight.W700,
color = AppColors.text
)
Spacer(modifier = Modifier.height(8.dp))

View File

@@ -139,7 +139,7 @@ fun SignupScreen() {
fontSize = 28.sp,
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)
}
}

View File

@@ -49,7 +49,7 @@ fun SplashScreen() {
fontSize = 28.sp,
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)
}
}

View File

@@ -33,7 +33,7 @@ private val LightColorScheme = lightColorScheme(
)
@Composable
fun RiderProTheme(
fun RaveNowTheme(
darkTheme: Boolean = isSystemInDarkTheme(),
// Dynamic color is available on Android 12+
dynamicColor: Boolean = true,

View File

@@ -35,7 +35,7 @@
<string name="back_upper">BACK</string>
<string name="text_hint_confirm_password">Enter your password again</string>
<string name="login_confirm_password_label">Confirm password</string>
<string name="agree_terms_of_service">Yes, I have read and agree to RiderPros Privacy Policy.</string>
<string name="agree_terms_of_service">Yes, I have read and agree to RaveNows Privacy Policy.</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_password_format">The password must be at least 8 characters long and contain a combination of uppercase letters, lowercase letters, and numbers.</string>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<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:windowIsTranslucent">true</item>
<item name="android:windowBackground">@color/activity_background</item>
@@ -10,7 +10,7 @@
<item name="android:windowNoTitle">true</item>
<item name="windowSplashScreenBackground">@color/splash_background</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>
</style>
</resources>

View File

@@ -19,5 +19,5 @@ dependencyResolutionManagement {
}
}
rootProject.name = "RiderPro"
rootProject.name = "RaveNow"
include(":app")