改包名com.aiosman.ravenow
This commit is contained in:
@@ -7,11 +7,11 @@ plugins {
|
|||||||
|
|
||||||
}
|
}
|
||||||
android {
|
android {
|
||||||
namespace = "com.aiosman.riderpro"
|
namespace = "com.aiosman.ravenow"
|
||||||
compileSdk = 34
|
compileSdk = 34
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "com.aiosman.riderpro"
|
applicationId = "com.aiosman.ravenow"
|
||||||
minSdk = 24
|
minSdk = 24
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 1000016
|
versionCode = 1000016
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
"client_info": {
|
"client_info": {
|
||||||
"mobilesdk_app_id": "1:987156664714:android:2c29c11b9cd8be78b9f873",
|
"mobilesdk_app_id": "1:987156664714:android:2c29c11b9cd8be78b9f873",
|
||||||
"android_client_info": {
|
"android_client_info": {
|
||||||
"package_name": "com.aiosman.riderpro"
|
"package_name": "com.aiosman.ravenow"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"oauth_client": [],
|
"oauth_client": [],
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import androidx.test.platform.app.InstrumentationRegistry
|
import androidx.test.platform.app.InstrumentationRegistry
|
||||||
import androidx.test.ext.junit.runners.AndroidJUnit4
|
import androidx.test.ext.junit.runners.AndroidJUnit4
|
||||||
@@ -19,6 +19,6 @@ class ExampleInstrumentedTest {
|
|||||||
fun useAppContext() {
|
fun useAppContext() {
|
||||||
// Context of the app under test.
|
// Context of the app under test.
|
||||||
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
|
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
|
||||||
assertEquals("com.aiosman.riderpro", appContext.packageName)
|
assertEquals("com.aiosman.ravenow", appContext.packageName)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -87,14 +87,14 @@
|
|||||||
android:exported="false">
|
android:exported="false">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="cn.jpush.android.intent.RECEIVER_MESSAGE" />
|
<action android:name="cn.jpush.android.intent.RECEIVER_MESSAGE" />
|
||||||
<category android:name="com.aiosman.riderpro" />
|
<category android:name="com.aiosman.ravenow" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
|
|
||||||
<provider
|
<provider
|
||||||
android:name="androidx.core.content.FileProvider"
|
android:name="androidx.core.content.FileProvider"
|
||||||
android:authorities="com.aiosman.riderpro.fileprovider"
|
android:authorities="com.aiosman.ravenow.fileprovider"
|
||||||
android:exported="false"
|
android:exported="false"
|
||||||
android:grantUriPermissions="true">
|
android:grantUriPermissions="true">
|
||||||
<meta-data
|
<meta-data
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
@@ -8,23 +8,21 @@ import android.util.Log
|
|||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
import androidx.compose.runtime.mutableStateOf
|
import androidx.compose.runtime.mutableStateOf
|
||||||
import androidx.compose.runtime.setValue
|
import androidx.compose.runtime.setValue
|
||||||
import com.aiosman.riderpro.data.AccountProfile
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountServiceImpl
|
||||||
import com.aiosman.riderpro.data.AccountServiceImpl
|
import com.aiosman.ravenow.entity.AccountProfileEntity
|
||||||
import com.aiosman.riderpro.entity.AccountProfileEntity
|
import com.aiosman.ravenow.ui.favourite.FavouriteListViewModel
|
||||||
import com.aiosman.riderpro.ui.favourite.FavouriteListViewModel
|
import com.aiosman.ravenow.ui.favourite.FavouriteNoticeViewModel
|
||||||
import com.aiosman.riderpro.ui.favourite.FavouriteNoticeViewModel
|
import com.aiosman.ravenow.ui.follower.FollowerNoticeViewModel
|
||||||
import com.aiosman.riderpro.ui.follower.FollowerNoticeViewModel
|
import com.aiosman.ravenow.ui.follower.FollowingListViewModel
|
||||||
import com.aiosman.riderpro.ui.follower.FollowingListViewModel
|
import com.aiosman.ravenow.ui.index.IndexViewModel
|
||||||
import com.aiosman.riderpro.ui.index.IndexViewModel
|
import com.aiosman.ravenow.ui.index.tabs.message.MessageListViewModel
|
||||||
import com.aiosman.riderpro.ui.index.tabs.message.MessageListViewModel
|
import com.aiosman.ravenow.ui.index.tabs.moment.tabs.timeline.TimelineMomentViewModel
|
||||||
import com.aiosman.riderpro.ui.index.tabs.moment.MomentViewModel
|
import com.aiosman.ravenow.ui.index.tabs.profile.MyProfileViewModel
|
||||||
import com.aiosman.riderpro.ui.index.tabs.moment.tabs.timeline.TimelineMomentViewModel
|
import com.aiosman.ravenow.ui.index.tabs.search.DiscoverViewModel
|
||||||
import com.aiosman.riderpro.ui.index.tabs.profile.MyProfileViewModel
|
import com.aiosman.ravenow.ui.index.tabs.search.SearchViewModel
|
||||||
import com.aiosman.riderpro.ui.index.tabs.search.DiscoverViewModel
|
import com.aiosman.ravenow.ui.like.LikeNoticeViewModel
|
||||||
import com.aiosman.riderpro.ui.index.tabs.search.SearchViewModel
|
import com.aiosman.ravenow.utils.Utils
|
||||||
import com.aiosman.riderpro.ui.like.LikeNoticeViewModel
|
|
||||||
import com.aiosman.riderpro.utils.Utils
|
|
||||||
import com.tencent.imsdk.v2.V2TIMCallback
|
import com.tencent.imsdk.v2.V2TIMCallback
|
||||||
import com.tencent.imsdk.v2.V2TIMLogListener
|
import com.tencent.imsdk.v2.V2TIMLogListener
|
||||||
import com.tencent.imsdk.v2.V2TIMManager
|
import com.tencent.imsdk.v2.V2TIMManager
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import com.aiosman.riderpro.data.ChatService
|
import com.aiosman.ravenow.data.ChatService
|
||||||
import com.aiosman.riderpro.data.ChatServiceImpl
|
import com.aiosman.ravenow.data.ChatServiceImpl
|
||||||
import com.aiosman.riderpro.entity.ChatNotification
|
import com.aiosman.ravenow.entity.ChatNotification
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 保存一些关于聊天的状态
|
* 保存一些关于聊天的状态
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import androidx.compose.ui.graphics.Color
|
import androidx.compose.ui.graphics.Color
|
||||||
|
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import android.content.Context
|
|
||||||
|
|
||||||
object ConstVars {
|
object ConstVars {
|
||||||
// api 地址
|
// api 地址
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import android.content.Context
|
|
||||||
import cn.jpush.android.service.JCommonService
|
import cn.jpush.android.service.JCommonService
|
||||||
|
|
||||||
class JpushService : JCommonService() {
|
class JpushService : JCommonService() {
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import android.Manifest
|
import android.Manifest
|
||||||
import android.app.NotificationChannel
|
import android.app.NotificationChannel
|
||||||
@@ -27,16 +27,15 @@ import androidx.lifecycle.ProcessLifecycleOwner
|
|||||||
import androidx.navigation.NavHostController
|
import androidx.navigation.NavHostController
|
||||||
import cn.jiguang.api.utils.JCollectionAuth
|
import cn.jiguang.api.utils.JCollectionAuth
|
||||||
import cn.jpush.android.api.JPushInterface
|
import cn.jpush.android.api.JPushInterface
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.data.AccountServiceImpl
|
import com.aiosman.ravenow.data.AccountServiceImpl
|
||||||
import com.aiosman.riderpro.data.UserService
|
import com.aiosman.ravenow.data.UserService
|
||||||
import com.aiosman.riderpro.data.UserServiceImpl
|
import com.aiosman.ravenow.data.UserServiceImpl
|
||||||
import com.aiosman.riderpro.model.ApkInstallReceiver
|
import com.aiosman.ravenow.ui.Navigation
|
||||||
import com.aiosman.riderpro.ui.Navigation
|
import com.aiosman.ravenow.ui.NavigationRoute
|
||||||
import com.aiosman.riderpro.ui.NavigationRoute
|
import com.aiosman.ravenow.ui.dialogs.CheckUpdateDialog
|
||||||
import com.aiosman.riderpro.ui.dialogs.CheckUpdateDialog
|
import com.aiosman.ravenow.ui.navigateToPost
|
||||||
import com.aiosman.riderpro.ui.navigateToPost
|
import com.aiosman.ravenow.ui.post.NewPostViewModel
|
||||||
import com.aiosman.riderpro.ui.post.NewPostViewModel
|
|
||||||
import com.google.firebase.Firebase
|
import com.google.firebase.Firebase
|
||||||
import com.google.firebase.analytics.FirebaseAnalytics
|
import com.google.firebase.analytics.FirebaseAnalytics
|
||||||
import com.google.firebase.analytics.analytics
|
import com.google.firebase.analytics.analytics
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import androidx.lifecycle.DefaultLifecycleObserver
|
import androidx.lifecycle.DefaultLifecycleObserver
|
||||||
import androidx.lifecycle.LifecycleOwner
|
import androidx.lifecycle.LifecycleOwner
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.util.Log
|
import android.util.Log
|
||||||
import cn.jpush.android.api.JPushInterface
|
import cn.jpush.android.api.JPushInterface
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.data.AccountServiceImpl
|
import com.aiosman.ravenow.data.AccountServiceImpl
|
||||||
import com.google.android.gms.tasks.OnCompleteListener
|
import com.google.android.gms.tasks.OnCompleteListener
|
||||||
import com.google.firebase.messaging.FirebaseMessaging
|
import com.google.firebase.messaging.FirebaseMessaging
|
||||||
import kotlinx.coroutines.CoroutineScope
|
import kotlinx.coroutines.CoroutineScope
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import android.Manifest
|
import android.Manifest
|
||||||
import android.app.PendingIntent
|
import android.app.PendingIntent
|
||||||
@@ -6,7 +6,6 @@ import android.content.Context
|
|||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.content.pm.PackageManager
|
import android.content.pm.PackageManager
|
||||||
import android.util.Log
|
import android.util.Log
|
||||||
import androidx.compose.material.Icon
|
|
||||||
import androidx.core.app.ActivityCompat
|
import androidx.core.app.ActivityCompat
|
||||||
import androidx.core.app.NotificationCompat
|
import androidx.core.app.NotificationCompat
|
||||||
import androidx.core.app.NotificationManagerCompat
|
import androidx.core.app.NotificationManagerCompat
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import android.Manifest
|
import android.Manifest
|
||||||
import android.app.NotificationChannel
|
import android.app.NotificationChannel
|
||||||
@@ -14,8 +14,8 @@ import android.util.Log
|
|||||||
import androidx.core.app.ActivityCompat
|
import androidx.core.app.ActivityCompat
|
||||||
import androidx.core.app.NotificationCompat
|
import androidx.core.app.NotificationCompat
|
||||||
import androidx.core.app.NotificationManagerCompat
|
import androidx.core.app.NotificationManagerCompat
|
||||||
import com.aiosman.riderpro.entity.ChatItem
|
import com.aiosman.ravenow.entity.ChatItem
|
||||||
import com.aiosman.riderpro.ui.index.tabs.message.MessageListViewModel
|
import com.aiosman.ravenow.ui.index.tabs.message.MessageListViewModel
|
||||||
import com.tencent.imsdk.v2.V2TIMAdvancedMsgListener
|
import com.tencent.imsdk.v2.V2TIMAdvancedMsgListener
|
||||||
import com.tencent.imsdk.v2.V2TIMManager
|
import com.tencent.imsdk.v2.V2TIMManager
|
||||||
import com.tencent.imsdk.v2.V2TIMMessage
|
import com.tencent.imsdk.v2.V2TIMMessage
|
||||||
@@ -1,25 +1,25 @@
|
|||||||
package com.aiosman.riderpro.data
|
package com.aiosman.ravenow.data
|
||||||
|
|
||||||
import com.aiosman.riderpro.AppState
|
import com.aiosman.ravenow.AppState
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
import com.aiosman.ravenow.data.api.ApiClient
|
||||||
import com.aiosman.riderpro.data.api.AppConfig
|
import com.aiosman.ravenow.data.api.AppConfig
|
||||||
import com.aiosman.riderpro.data.api.CaptchaInfo
|
import com.aiosman.ravenow.data.api.CaptchaInfo
|
||||||
import com.aiosman.riderpro.data.api.ChangePasswordRequestBody
|
import com.aiosman.ravenow.data.api.ChangePasswordRequestBody
|
||||||
import com.aiosman.riderpro.data.api.GoogleRegisterRequestBody
|
import com.aiosman.ravenow.data.api.GoogleRegisterRequestBody
|
||||||
import com.aiosman.riderpro.data.api.LoginUserRequestBody
|
import com.aiosman.ravenow.data.api.LoginUserRequestBody
|
||||||
import com.aiosman.riderpro.data.api.RegisterMessageChannelRequestBody
|
import com.aiosman.ravenow.data.api.RegisterMessageChannelRequestBody
|
||||||
import com.aiosman.riderpro.data.api.RegisterRequestBody
|
import com.aiosman.ravenow.data.api.RegisterRequestBody
|
||||||
import com.aiosman.riderpro.data.api.ResetPasswordRequestBody
|
import com.aiosman.ravenow.data.api.ResetPasswordRequestBody
|
||||||
import com.aiosman.riderpro.data.api.TrtcSignResponseBody
|
import com.aiosman.ravenow.data.api.TrtcSignResponseBody
|
||||||
import com.aiosman.riderpro.data.api.UnRegisterMessageChannelRequestBody
|
import com.aiosman.ravenow.data.api.UnRegisterMessageChannelRequestBody
|
||||||
import com.aiosman.riderpro.data.api.UpdateNoticeRequestBody
|
import com.aiosman.ravenow.data.api.UpdateNoticeRequestBody
|
||||||
import com.aiosman.riderpro.data.api.UpdateUserLangRequestBody
|
import com.aiosman.ravenow.data.api.UpdateUserLangRequestBody
|
||||||
import com.aiosman.riderpro.entity.AccountFavouriteEntity
|
import com.aiosman.ravenow.entity.AccountFavouriteEntity
|
||||||
import com.aiosman.riderpro.entity.AccountLikeEntity
|
import com.aiosman.ravenow.entity.AccountLikeEntity
|
||||||
import com.aiosman.riderpro.entity.AccountProfileEntity
|
import com.aiosman.ravenow.entity.AccountProfileEntity
|
||||||
import com.aiosman.riderpro.entity.NoticeCommentEntity
|
import com.aiosman.ravenow.entity.NoticeCommentEntity
|
||||||
import com.aiosman.riderpro.entity.NoticePostEntity
|
import com.aiosman.ravenow.entity.NoticePostEntity
|
||||||
import com.aiosman.riderpro.entity.NoticeUserEntity
|
import com.aiosman.ravenow.entity.NoticeUserEntity
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import okhttp3.MediaType.Companion.toMediaTypeOrNull
|
import okhttp3.MediaType.Companion.toMediaTypeOrNull
|
||||||
import okhttp3.MultipartBody
|
import okhttp3.MultipartBody
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
package com.aiosman.riderpro.data
|
package com.aiosman.ravenow.data
|
||||||
|
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
import com.aiosman.ravenow.data.api.ApiClient
|
||||||
import com.aiosman.riderpro.data.api.CaptchaRequestBody
|
import com.aiosman.ravenow.data.api.CaptchaRequestBody
|
||||||
import com.aiosman.riderpro.data.api.CaptchaResponseBody
|
import com.aiosman.ravenow.data.api.CaptchaResponseBody
|
||||||
import com.aiosman.riderpro.data.api.CheckLoginCaptchaRequestBody
|
import com.aiosman.ravenow.data.api.CheckLoginCaptchaRequestBody
|
||||||
import com.aiosman.riderpro.data.api.GenerateLoginCaptchaRequestBody
|
import com.aiosman.ravenow.data.api.GenerateLoginCaptchaRequestBody
|
||||||
|
|
||||||
|
|
||||||
interface CaptchaService {
|
interface CaptchaService {
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
package com.aiosman.riderpro.data
|
package com.aiosman.ravenow.data
|
||||||
|
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
import com.aiosman.ravenow.data.api.ApiClient
|
||||||
import com.aiosman.riderpro.data.api.UpdateChatNotificationRequestBody
|
import com.aiosman.ravenow.data.api.UpdateChatNotificationRequestBody
|
||||||
import com.aiosman.riderpro.entity.ChatNotification
|
import com.aiosman.ravenow.entity.ChatNotification
|
||||||
|
|
||||||
interface ChatService {
|
interface ChatService {
|
||||||
suspend fun getChatNotifications(
|
suspend fun getChatNotifications(
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
package com.aiosman.riderpro.data
|
package com.aiosman.ravenow.data
|
||||||
|
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
import com.aiosman.ravenow.data.api.ApiClient
|
||||||
import com.aiosman.riderpro.data.api.CommentRequestBody
|
import com.aiosman.ravenow.data.api.CommentRequestBody
|
||||||
import com.aiosman.riderpro.entity.CommentEntity
|
import com.aiosman.ravenow.entity.CommentEntity
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.data
|
package com.aiosman.ravenow.data
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 通用接口返回数据
|
* 通用接口返回数据
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package com.aiosman.riderpro.data
|
package com.aiosman.ravenow.data
|
||||||
|
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
import com.aiosman.ravenow.data.api.ApiClient
|
||||||
import com.aiosman.riderpro.data.api.DictItem
|
import com.aiosman.ravenow.data.api.DictItem
|
||||||
|
|
||||||
|
|
||||||
interface DictService {
|
interface DictService {
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package com.aiosman.riderpro.data
|
package com.aiosman.ravenow.data
|
||||||
|
|
||||||
import com.aiosman.riderpro.data.api.ErrorCode
|
import com.aiosman.ravenow.data.api.ErrorCode
|
||||||
import com.aiosman.riderpro.data.api.toErrorCode
|
import com.aiosman.ravenow.data.api.toErrorCode
|
||||||
import com.google.gson.Gson
|
import com.google.gson.Gson
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import okhttp3.ResponseBody
|
import okhttp3.ResponseBody
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.data
|
package com.aiosman.ravenow.data
|
||||||
|
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
package com.aiosman.riderpro.data
|
package com.aiosman.ravenow.data
|
||||||
|
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
import com.aiosman.ravenow.data.api.ApiClient
|
||||||
import com.aiosman.riderpro.entity.MomentEntity
|
import com.aiosman.ravenow.entity.MomentEntity
|
||||||
import com.aiosman.riderpro.entity.MomentImageEntity
|
import com.aiosman.ravenow.entity.MomentImageEntity
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
package com.aiosman.riderpro.data
|
package com.aiosman.ravenow.data
|
||||||
|
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
import com.aiosman.ravenow.data.api.ApiClient
|
||||||
import com.aiosman.riderpro.entity.AccountProfileEntity
|
import com.aiosman.ravenow.entity.AccountProfileEntity
|
||||||
|
|
||||||
data class UserAuth(
|
data class UserAuth(
|
||||||
val id: Int,
|
val id: Int,
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
package com.aiosman.riderpro.data.api
|
package com.aiosman.ravenow.data.api
|
||||||
|
|
||||||
import android.icu.text.SimpleDateFormat
|
import android.icu.text.SimpleDateFormat
|
||||||
import android.icu.util.TimeZone
|
import android.icu.util.TimeZone
|
||||||
import com.aiosman.riderpro.AppStore
|
import com.aiosman.ravenow.AppStore
|
||||||
import com.aiosman.riderpro.ConstVars
|
import com.aiosman.ravenow.ConstVars
|
||||||
import com.auth0.android.jwt.JWT
|
import com.auth0.android.jwt.JWT
|
||||||
import kotlinx.coroutines.runBlocking
|
import kotlinx.coroutines.runBlocking
|
||||||
import okhttp3.Interceptor
|
import okhttp3.Interceptor
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
package com.aiosman.riderpro.data.api
|
package com.aiosman.ravenow.data.api
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.widget.Toast
|
import android.widget.Toast
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
|
|
||||||
//
|
//
|
||||||
enum class ErrorCode(val code: Int) {
|
enum class ErrorCode(val code: Int) {
|
||||||
@@ -1,15 +1,15 @@
|
|||||||
package com.aiosman.riderpro.data.api
|
package com.aiosman.ravenow.data.api
|
||||||
|
|
||||||
import com.aiosman.riderpro.data.AccountFavourite
|
import com.aiosman.ravenow.data.AccountFavourite
|
||||||
import com.aiosman.riderpro.data.AccountFollow
|
import com.aiosman.ravenow.data.AccountFollow
|
||||||
import com.aiosman.riderpro.data.AccountLike
|
import com.aiosman.ravenow.data.AccountLike
|
||||||
import com.aiosman.riderpro.data.AccountNotice
|
import com.aiosman.ravenow.data.AccountNotice
|
||||||
import com.aiosman.riderpro.data.AccountProfile
|
import com.aiosman.ravenow.data.AccountProfile
|
||||||
import com.aiosman.riderpro.data.Comment
|
import com.aiosman.ravenow.data.Comment
|
||||||
import com.aiosman.riderpro.data.DataContainer
|
import com.aiosman.ravenow.data.DataContainer
|
||||||
import com.aiosman.riderpro.data.ListContainer
|
import com.aiosman.ravenow.data.ListContainer
|
||||||
import com.aiosman.riderpro.data.Moment
|
import com.aiosman.ravenow.data.Moment
|
||||||
import com.aiosman.riderpro.entity.ChatNotification
|
import com.aiosman.ravenow.entity.ChatNotification
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import okhttp3.MultipartBody
|
import okhttp3.MultipartBody
|
||||||
import okhttp3.RequestBody
|
import okhttp3.RequestBody
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
package com.aiosman.riderpro.entity
|
package com.aiosman.ravenow.entity
|
||||||
|
|
||||||
import androidx.paging.PagingSource
|
import androidx.paging.PagingSource
|
||||||
import androidx.paging.PagingState
|
import androidx.paging.PagingState
|
||||||
import com.aiosman.riderpro.data.AccountFollow
|
import com.aiosman.ravenow.data.AccountFollow
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.data.Image
|
import com.aiosman.ravenow.data.Image
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
import com.aiosman.ravenow.data.api.ApiClient
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
import java.util.Date
|
import java.util.Date
|
||||||
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
package com.aiosman.riderpro.entity
|
package com.aiosman.ravenow.entity
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.icu.util.Calendar
|
import android.icu.util.Calendar
|
||||||
import com.aiosman.riderpro.exp.formatChatTime
|
import com.aiosman.ravenow.exp.formatChatTime
|
||||||
import com.google.gson.annotations.SerializedName
|
import com.google.gson.annotations.SerializedName
|
||||||
import com.tencent.imsdk.v2.V2TIMImageElem
|
import com.tencent.imsdk.v2.V2TIMImageElem
|
||||||
import com.tencent.imsdk.v2.V2TIMMessage
|
import com.tencent.imsdk.v2.V2TIMMessage
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
package com.aiosman.riderpro.entity
|
package com.aiosman.ravenow.entity
|
||||||
|
|
||||||
import androidx.paging.PagingSource
|
import androidx.paging.PagingSource
|
||||||
import androidx.paging.PagingState
|
import androidx.paging.PagingState
|
||||||
import com.aiosman.riderpro.data.CommentRemoteDataSource
|
import com.aiosman.ravenow.data.CommentRemoteDataSource
|
||||||
import com.aiosman.riderpro.data.NoticePost
|
import com.aiosman.ravenow.data.NoticePost
|
||||||
import java.io.IOException
|
|
||||||
import java.util.Date
|
import java.util.Date
|
||||||
|
|
||||||
data class CommentEntity(
|
data class CommentEntity(
|
||||||
@@ -1,15 +1,14 @@
|
|||||||
package com.aiosman.riderpro.entity
|
package com.aiosman.ravenow.entity
|
||||||
|
|
||||||
import androidx.annotation.DrawableRes
|
import androidx.annotation.DrawableRes
|
||||||
import androidx.paging.PagingSource
|
import androidx.paging.PagingSource
|
||||||
import androidx.paging.PagingState
|
import androidx.paging.PagingState
|
||||||
import com.aiosman.riderpro.data.ListContainer
|
import com.aiosman.ravenow.data.ListContainer
|
||||||
import com.aiosman.riderpro.data.MomentService
|
import com.aiosman.ravenow.data.MomentService
|
||||||
import com.aiosman.riderpro.data.ServiceException
|
import com.aiosman.ravenow.data.ServiceException
|
||||||
import com.aiosman.riderpro.data.UploadImage
|
import com.aiosman.ravenow.data.UploadImage
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
import com.aiosman.ravenow.data.api.ApiClient
|
||||||
import com.aiosman.riderpro.data.parseErrorResponse
|
import com.aiosman.ravenow.data.parseErrorResponse
|
||||||
import com.aiosman.riderpro.entity.MomentEntity
|
|
||||||
import okhttp3.MediaType.Companion.toMediaTypeOrNull
|
import okhttp3.MediaType.Companion.toMediaTypeOrNull
|
||||||
import okhttp3.MultipartBody
|
import okhttp3.MultipartBody
|
||||||
import okhttp3.RequestBody
|
import okhttp3.RequestBody
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
package com.aiosman.riderpro.entity
|
package com.aiosman.ravenow.entity
|
||||||
|
|
||||||
import androidx.paging.PagingSource
|
import androidx.paging.PagingSource
|
||||||
import androidx.paging.PagingState
|
import androidx.paging.PagingState
|
||||||
import com.aiosman.riderpro.data.UserService
|
import com.aiosman.ravenow.data.UserService
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.exp
|
package com.aiosman.ravenow.exp
|
||||||
|
|
||||||
import android.graphics.Bitmap
|
import android.graphics.Bitmap
|
||||||
|
|
||||||
@@ -1,11 +1,9 @@
|
|||||||
package com.aiosman.riderpro.exp
|
package com.aiosman.ravenow.exp
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.icu.text.SimpleDateFormat
|
import android.icu.text.SimpleDateFormat
|
||||||
import android.icu.util.Calendar
|
import android.icu.util.Calendar
|
||||||
import androidx.compose.ui.res.stringResource
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.R
|
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
|
||||||
import java.util.Date
|
import java.util.Date
|
||||||
import java.util.Locale
|
import java.util.Locale
|
||||||
import java.util.concurrent.TimeUnit
|
import java.util.concurrent.TimeUnit
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.exp
|
package com.aiosman.ravenow.exp
|
||||||
|
|
||||||
import android.annotation.SuppressLint
|
import android.annotation.SuppressLint
|
||||||
import android.app.Activity
|
import android.app.Activity
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.exp
|
package com.aiosman.ravenow.exp
|
||||||
|
|
||||||
import androidx.lifecycle.ViewModel
|
import androidx.lifecycle.ViewModel
|
||||||
import androidx.lifecycle.ViewModelProvider
|
import androidx.lifecycle.ViewModelProvider
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.model
|
package com.aiosman.ravenow.model
|
||||||
|
|
||||||
import androidx.annotation.DrawableRes
|
import androidx.annotation.DrawableRes
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.model
|
package com.aiosman.ravenow.model
|
||||||
|
|
||||||
import androidx.paging.PagingSource
|
import androidx.paging.PagingSource
|
||||||
import androidx.paging.PagingState
|
import androidx.paging.PagingState
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.model
|
package com.aiosman.ravenow.model
|
||||||
|
|
||||||
import android.app.DownloadManager
|
import android.app.DownloadManager
|
||||||
import android.content.BroadcastReceiver
|
import android.content.BroadcastReceiver
|
||||||
@@ -6,8 +6,6 @@ import android.content.Context
|
|||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.net.Uri
|
import android.net.Uri
|
||||||
import android.util.Log
|
import android.util.Log
|
||||||
import androidx.core.net.toUri
|
|
||||||
import java.io.File
|
|
||||||
|
|
||||||
data class UpdateInfo(
|
data class UpdateInfo(
|
||||||
val versionCode: Int,
|
val versionCode: Int,
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro
|
package com.aiosman.ravenow
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.SharedPreferences
|
import android.content.SharedPreferences
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.test
|
package com.aiosman.ravenow.test
|
||||||
|
|
||||||
data class StreetPosition(
|
data class StreetPosition(
|
||||||
val name:String,
|
val name:String,
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui
|
package com.aiosman.ravenow.ui
|
||||||
|
|
||||||
import ChangePasswordScreen
|
import ChangePasswordScreen
|
||||||
import ImageViewer
|
import ImageViewer
|
||||||
@@ -24,37 +24,37 @@ import androidx.navigation.compose.NavHost
|
|||||||
import androidx.navigation.compose.composable
|
import androidx.navigation.compose.composable
|
||||||
import androidx.navigation.compose.rememberNavController
|
import androidx.navigation.compose.rememberNavController
|
||||||
import androidx.navigation.navArgument
|
import androidx.navigation.navArgument
|
||||||
import com.aiosman.riderpro.LocalAnimatedContentScope
|
import com.aiosman.ravenow.LocalAnimatedContentScope
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.LocalSharedTransitionScope
|
import com.aiosman.ravenow.LocalSharedTransitionScope
|
||||||
import com.aiosman.riderpro.ui.account.AccountEditScreen2
|
import com.aiosman.ravenow.ui.account.AccountEditScreen2
|
||||||
import com.aiosman.riderpro.ui.account.ResetPasswordScreen
|
import com.aiosman.ravenow.ui.account.ResetPasswordScreen
|
||||||
import com.aiosman.riderpro.ui.chat.ChatScreen
|
import com.aiosman.ravenow.ui.chat.ChatScreen
|
||||||
import com.aiosman.riderpro.ui.comment.CommentsScreen
|
import com.aiosman.ravenow.ui.comment.CommentsScreen
|
||||||
import com.aiosman.riderpro.ui.comment.notice.CommentNoticeScreen
|
import com.aiosman.ravenow.ui.comment.notice.CommentNoticeScreen
|
||||||
import com.aiosman.riderpro.ui.crop.ImageCropScreen
|
import com.aiosman.ravenow.ui.crop.ImageCropScreen
|
||||||
import com.aiosman.riderpro.ui.favourite.FavouriteListPage
|
import com.aiosman.ravenow.ui.favourite.FavouriteListPage
|
||||||
import com.aiosman.riderpro.ui.favourite.FavouriteNoticeScreen
|
import com.aiosman.ravenow.ui.favourite.FavouriteNoticeScreen
|
||||||
import com.aiosman.riderpro.ui.follower.FollowerListScreen
|
import com.aiosman.ravenow.ui.follower.FollowerListScreen
|
||||||
import com.aiosman.riderpro.ui.follower.FollowerNoticeScreen
|
import com.aiosman.ravenow.ui.follower.FollowerNoticeScreen
|
||||||
import com.aiosman.riderpro.ui.follower.FollowingListScreen
|
import com.aiosman.ravenow.ui.follower.FollowingListScreen
|
||||||
import com.aiosman.riderpro.ui.gallery.OfficialGalleryScreen
|
import com.aiosman.ravenow.ui.gallery.OfficialGalleryScreen
|
||||||
import com.aiosman.riderpro.ui.gallery.OfficialPhotographerScreen
|
import com.aiosman.ravenow.ui.gallery.OfficialPhotographerScreen
|
||||||
import com.aiosman.riderpro.ui.gallery.ProfileTimelineScreen
|
import com.aiosman.ravenow.ui.gallery.ProfileTimelineScreen
|
||||||
import com.aiosman.riderpro.ui.index.IndexScreen
|
import com.aiosman.ravenow.ui.index.IndexScreen
|
||||||
import com.aiosman.riderpro.ui.index.tabs.message.NotificationsScreen
|
import com.aiosman.ravenow.ui.index.tabs.message.NotificationsScreen
|
||||||
import com.aiosman.riderpro.ui.index.tabs.search.SearchScreen
|
import com.aiosman.ravenow.ui.index.tabs.search.SearchScreen
|
||||||
import com.aiosman.riderpro.ui.like.LikeNoticeScreen
|
import com.aiosman.ravenow.ui.like.LikeNoticeScreen
|
||||||
import com.aiosman.riderpro.ui.location.LocationDetailScreen
|
import com.aiosman.ravenow.ui.location.LocationDetailScreen
|
||||||
import com.aiosman.riderpro.ui.login.EmailSignupScreen
|
import com.aiosman.ravenow.ui.login.EmailSignupScreen
|
||||||
import com.aiosman.riderpro.ui.login.LoginPage
|
import com.aiosman.ravenow.ui.login.LoginPage
|
||||||
import com.aiosman.riderpro.ui.login.SignupScreen
|
import com.aiosman.ravenow.ui.login.SignupScreen
|
||||||
import com.aiosman.riderpro.ui.login.UserAuthScreen
|
import com.aiosman.ravenow.ui.login.UserAuthScreen
|
||||||
import com.aiosman.riderpro.ui.modification.EditModificationScreen
|
import com.aiosman.ravenow.ui.modification.EditModificationScreen
|
||||||
import com.aiosman.riderpro.ui.post.NewPostImageGridScreen
|
import com.aiosman.ravenow.ui.post.NewPostImageGridScreen
|
||||||
import com.aiosman.riderpro.ui.post.NewPostScreen
|
import com.aiosman.ravenow.ui.post.NewPostScreen
|
||||||
import com.aiosman.riderpro.ui.post.PostScreen
|
import com.aiosman.ravenow.ui.post.PostScreen
|
||||||
import com.aiosman.riderpro.ui.profile.AccountProfileV2
|
import com.aiosman.ravenow.ui.profile.AccountProfileV2
|
||||||
|
|
||||||
sealed class NavigationRoute(
|
sealed class NavigationRoute(
|
||||||
val route: String,
|
val route: String,
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.account
|
package com.aiosman.ravenow.ui.account
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.graphics.Bitmap
|
import android.graphics.Bitmap
|
||||||
@@ -7,11 +7,11 @@ import androidx.compose.runtime.getValue
|
|||||||
import androidx.compose.runtime.mutableStateOf
|
import androidx.compose.runtime.mutableStateOf
|
||||||
import androidx.compose.runtime.setValue
|
import androidx.compose.runtime.setValue
|
||||||
import androidx.lifecycle.ViewModel
|
import androidx.lifecycle.ViewModel
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.data.AccountServiceImpl
|
import com.aiosman.ravenow.data.AccountServiceImpl
|
||||||
import com.aiosman.riderpro.data.UploadImage
|
import com.aiosman.ravenow.data.UploadImage
|
||||||
import com.aiosman.riderpro.entity.AccountProfileEntity
|
import com.aiosman.ravenow.entity.AccountProfileEntity
|
||||||
import com.aiosman.riderpro.ui.index.tabs.profile.MyProfileViewModel
|
import com.aiosman.ravenow.ui.index.tabs.profile.MyProfileViewModel
|
||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
||||||
object AccountEditViewModel : ViewModel() {
|
object AccountEditViewModel : ViewModel() {
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.account
|
package com.aiosman.ravenow.ui.account
|
||||||
|
|
||||||
import android.widget.Toast
|
import android.widget.Toast
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
@@ -25,20 +25,20 @@ import androidx.compose.ui.text.TextStyle
|
|||||||
import androidx.compose.ui.text.font.FontWeight
|
import androidx.compose.ui.text.font.FontWeight
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import com.aiosman.riderpro.ConstVars
|
import com.aiosman.ravenow.ConstVars
|
||||||
import com.aiosman.riderpro.data.api.ErrorCode
|
import com.aiosman.ravenow.data.api.ErrorCode
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.data.AccountServiceImpl
|
import com.aiosman.ravenow.data.AccountServiceImpl
|
||||||
import com.aiosman.riderpro.data.DictService
|
import com.aiosman.ravenow.data.DictService
|
||||||
import com.aiosman.riderpro.data.DictServiceImpl
|
import com.aiosman.ravenow.data.DictServiceImpl
|
||||||
import com.aiosman.riderpro.data.ServiceException
|
import com.aiosman.ravenow.data.ServiceException
|
||||||
import com.aiosman.riderpro.ui.comment.NoticeScreenHeader
|
import com.aiosman.ravenow.ui.comment.NoticeScreenHeader
|
||||||
import com.aiosman.riderpro.ui.composables.ActionButton
|
import com.aiosman.ravenow.ui.composables.ActionButton
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarSpacer
|
import com.aiosman.ravenow.ui.composables.StatusBarSpacer
|
||||||
import com.aiosman.riderpro.ui.composables.TextInputField
|
import com.aiosman.ravenow.ui.composables.TextInputField
|
||||||
import kotlinx.coroutines.delay
|
import kotlinx.coroutines.delay
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
@@ -18,19 +18,18 @@ import androidx.compose.ui.Alignment
|
|||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.platform.LocalContext
|
import androidx.compose.ui.platform.LocalContext
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.data.AccountServiceImpl
|
import com.aiosman.ravenow.data.AccountServiceImpl
|
||||||
import com.aiosman.riderpro.data.ServiceException
|
import com.aiosman.ravenow.data.ServiceException
|
||||||
import com.aiosman.riderpro.data.api.ErrorCode
|
import com.aiosman.ravenow.data.api.ErrorCode
|
||||||
import com.aiosman.riderpro.data.api.showToast
|
import com.aiosman.ravenow.data.api.showToast
|
||||||
import com.aiosman.riderpro.data.api.toErrorMessage
|
import com.aiosman.ravenow.data.api.toErrorMessage
|
||||||
import com.aiosman.riderpro.ui.comment.NoticeScreenHeader
|
import com.aiosman.ravenow.ui.comment.NoticeScreenHeader
|
||||||
import com.aiosman.riderpro.ui.composables.ActionButton
|
import com.aiosman.ravenow.ui.composables.ActionButton
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarSpacer
|
import com.aiosman.ravenow.ui.composables.StatusBarSpacer
|
||||||
import com.aiosman.riderpro.ui.composables.TextInputField
|
import com.aiosman.ravenow.ui.composables.TextInputField
|
||||||
import com.google.android.gms.common.api.ApiException
|
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.account
|
package com.aiosman.ravenow.ui.account
|
||||||
|
|
||||||
import android.app.Activity
|
import android.app.Activity
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
@@ -34,14 +34,14 @@ import androidx.compose.ui.Modifier
|
|||||||
import androidx.compose.ui.layout.ContentScale
|
import androidx.compose.ui.layout.ContentScale
|
||||||
import androidx.compose.ui.platform.LocalContext
|
import androidx.compose.ui.platform.LocalContext
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.data.AccountServiceImpl
|
import com.aiosman.ravenow.data.AccountServiceImpl
|
||||||
import com.aiosman.riderpro.data.UploadImage
|
import com.aiosman.ravenow.data.UploadImage
|
||||||
import com.aiosman.riderpro.entity.AccountProfileEntity
|
import com.aiosman.ravenow.entity.AccountProfileEntity
|
||||||
import com.aiosman.riderpro.ui.composables.CustomAsyncImage
|
import com.aiosman.ravenow.ui.composables.CustomAsyncImage
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
import com.aiosman.riderpro.ui.post.NewPostViewModel.uriToFile
|
import com.aiosman.ravenow.ui.post.NewPostViewModel.uriToFile
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.account
|
package com.aiosman.ravenow.ui.account
|
||||||
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
@@ -30,15 +30,15 @@ import androidx.compose.ui.platform.LocalContext
|
|||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.lifecycle.viewModelScope
|
import androidx.lifecycle.viewModelScope
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.NavigationRoute
|
import com.aiosman.ravenow.ui.NavigationRoute
|
||||||
import com.aiosman.riderpro.ui.comment.NoticeScreenHeader
|
import com.aiosman.ravenow.ui.comment.NoticeScreenHeader
|
||||||
import com.aiosman.riderpro.ui.composables.CustomAsyncImage
|
import com.aiosman.ravenow.ui.composables.CustomAsyncImage
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarSpacer
|
import com.aiosman.ravenow.ui.composables.StatusBarSpacer
|
||||||
import com.aiosman.riderpro.ui.composables.form.FormTextInput
|
import com.aiosman.ravenow.ui.composables.form.FormTextInput
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
import kotlinx.coroutines.Dispatchers
|
import kotlinx.coroutines.Dispatchers
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.chat
|
package com.aiosman.ravenow.ui.chat
|
||||||
|
|
||||||
import android.app.Activity
|
import android.app.Activity
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
@@ -71,16 +71,16 @@ import androidx.lifecycle.ViewModel
|
|||||||
import androidx.lifecycle.ViewModelProvider
|
import androidx.lifecycle.ViewModelProvider
|
||||||
import androidx.lifecycle.viewModelScope
|
import androidx.lifecycle.viewModelScope
|
||||||
import androidx.lifecycle.viewmodel.compose.viewModel
|
import androidx.lifecycle.viewmodel.compose.viewModel
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.entity.ChatItem
|
import com.aiosman.ravenow.entity.ChatItem
|
||||||
import com.aiosman.riderpro.exp.formatChatTime
|
import com.aiosman.ravenow.exp.formatChatTime
|
||||||
import com.aiosman.riderpro.ui.composables.CustomAsyncImage
|
import com.aiosman.ravenow.ui.composables.CustomAsyncImage
|
||||||
import com.aiosman.riderpro.ui.composables.DropdownMenu
|
import com.aiosman.ravenow.ui.composables.DropdownMenu
|
||||||
import com.aiosman.riderpro.ui.composables.MenuItem
|
import com.aiosman.ravenow.ui.composables.MenuItem
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarSpacer
|
import com.aiosman.ravenow.ui.composables.StatusBarSpacer
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
import com.tencent.imsdk.v2.V2TIMMessage
|
import com.tencent.imsdk.v2.V2TIMMessage
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.chat
|
package com.aiosman.ravenow.ui.chat
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.net.Uri
|
import android.net.Uri
|
||||||
@@ -10,14 +10,14 @@ import androidx.compose.runtime.mutableStateOf
|
|||||||
import androidx.compose.runtime.setValue
|
import androidx.compose.runtime.setValue
|
||||||
import androidx.lifecycle.ViewModel
|
import androidx.lifecycle.ViewModel
|
||||||
import androidx.lifecycle.viewModelScope
|
import androidx.lifecycle.viewModelScope
|
||||||
import com.aiosman.riderpro.ChatState
|
import com.aiosman.ravenow.ChatState
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.data.AccountServiceImpl
|
import com.aiosman.ravenow.data.AccountServiceImpl
|
||||||
import com.aiosman.riderpro.data.UserService
|
import com.aiosman.ravenow.data.UserService
|
||||||
import com.aiosman.riderpro.data.UserServiceImpl
|
import com.aiosman.ravenow.data.UserServiceImpl
|
||||||
import com.aiosman.riderpro.entity.AccountProfileEntity
|
import com.aiosman.ravenow.entity.AccountProfileEntity
|
||||||
import com.aiosman.riderpro.entity.ChatItem
|
import com.aiosman.ravenow.entity.ChatItem
|
||||||
import com.aiosman.riderpro.entity.ChatNotification
|
import com.aiosman.ravenow.entity.ChatNotification
|
||||||
import com.tencent.imsdk.v2.V2TIMAdvancedMsgListener
|
import com.tencent.imsdk.v2.V2TIMAdvancedMsgListener
|
||||||
import com.tencent.imsdk.v2.V2TIMCallback
|
import com.tencent.imsdk.v2.V2TIMCallback
|
||||||
import com.tencent.imsdk.v2.V2TIMManager
|
import com.tencent.imsdk.v2.V2TIMManager
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.comment
|
package com.aiosman.ravenow.ui.comment
|
||||||
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Arrangement
|
import androidx.compose.foundation.layout.Arrangement
|
||||||
@@ -40,13 +40,13 @@ import androidx.lifecycle.ViewModel
|
|||||||
import androidx.lifecycle.ViewModelProvider
|
import androidx.lifecycle.ViewModelProvider
|
||||||
import androidx.lifecycle.viewModelScope
|
import androidx.lifecycle.viewModelScope
|
||||||
import androidx.lifecycle.viewmodel.compose.viewModel
|
import androidx.lifecycle.viewmodel.compose.viewModel
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.entity.CommentEntity
|
import com.aiosman.ravenow.entity.CommentEntity
|
||||||
import com.aiosman.riderpro.ui.composables.EditCommentBottomModal
|
import com.aiosman.ravenow.ui.composables.EditCommentBottomModal
|
||||||
import com.aiosman.riderpro.ui.post.CommentContent
|
import com.aiosman.ravenow.ui.post.CommentContent
|
||||||
import com.aiosman.riderpro.ui.post.CommentMenuModal
|
import com.aiosman.ravenow.ui.post.CommentMenuModal
|
||||||
import com.aiosman.riderpro.ui.post.CommentsViewModel
|
import com.aiosman.ravenow.ui.post.CommentsViewModel
|
||||||
import com.aiosman.riderpro.ui.post.OrderSelectionComponent
|
import com.aiosman.ravenow.ui.post.OrderSelectionComponent
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.comment
|
package com.aiosman.ravenow.ui.comment
|
||||||
|
|
||||||
import androidx.compose.foundation.Image
|
import androidx.compose.foundation.Image
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
@@ -26,11 +26,11 @@ import androidx.compose.ui.text.font.FontWeight
|
|||||||
import androidx.compose.ui.tooling.preview.Preview
|
import androidx.compose.ui.tooling.preview.Preview
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarMaskLayout
|
import com.aiosman.ravenow.ui.composables.StatusBarMaskLayout
|
||||||
import com.aiosman.riderpro.ui.composables.BottomNavigationPlaceholder
|
import com.aiosman.ravenow.ui.composables.BottomNavigationPlaceholder
|
||||||
|
|
||||||
@Preview
|
@Preview
|
||||||
@Composable
|
@Composable
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.comment.notice
|
package com.aiosman.ravenow.ui.comment.notice
|
||||||
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
@@ -21,7 +21,6 @@ import androidx.compose.runtime.LaunchedEffect
|
|||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.draw.clip
|
import androidx.compose.ui.draw.clip
|
||||||
import androidx.compose.ui.graphics.Color
|
|
||||||
import androidx.compose.ui.platform.LocalContext
|
import androidx.compose.ui.platform.LocalContext
|
||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
import androidx.compose.ui.text.style.TextOverflow
|
import androidx.compose.ui.text.style.TextOverflow
|
||||||
@@ -33,17 +32,17 @@ import androidx.lifecycle.viewModelScope
|
|||||||
import androidx.lifecycle.viewmodel.compose.viewModel
|
import androidx.lifecycle.viewmodel.compose.viewModel
|
||||||
import androidx.paging.LoadState
|
import androidx.paging.LoadState
|
||||||
import androidx.paging.compose.collectAsLazyPagingItems
|
import androidx.paging.compose.collectAsLazyPagingItems
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.entity.CommentEntity
|
import com.aiosman.ravenow.entity.CommentEntity
|
||||||
import com.aiosman.riderpro.exp.timeAgo
|
import com.aiosman.ravenow.exp.timeAgo
|
||||||
import com.aiosman.riderpro.ui.NavigationRoute
|
import com.aiosman.ravenow.ui.NavigationRoute
|
||||||
import com.aiosman.riderpro.ui.comment.NoticeScreenHeader
|
import com.aiosman.ravenow.ui.comment.NoticeScreenHeader
|
||||||
import com.aiosman.riderpro.ui.composables.CustomAsyncImage
|
import com.aiosman.ravenow.ui.composables.CustomAsyncImage
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarSpacer
|
import com.aiosman.ravenow.ui.composables.StatusBarSpacer
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
import com.aiosman.riderpro.ui.navigateToPost
|
import com.aiosman.ravenow.ui.navigateToPost
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.comment.notice
|
package com.aiosman.ravenow.ui.comment.notice
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
@@ -11,15 +11,15 @@ import androidx.paging.PagingConfig
|
|||||||
import androidx.paging.PagingData
|
import androidx.paging.PagingData
|
||||||
import androidx.paging.cachedIn
|
import androidx.paging.cachedIn
|
||||||
import androidx.paging.map
|
import androidx.paging.map
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.data.AccountServiceImpl
|
import com.aiosman.ravenow.data.AccountServiceImpl
|
||||||
import com.aiosman.riderpro.data.CommentRemoteDataSource
|
import com.aiosman.ravenow.data.CommentRemoteDataSource
|
||||||
import com.aiosman.riderpro.data.CommentService
|
import com.aiosman.ravenow.data.CommentService
|
||||||
import com.aiosman.riderpro.data.CommentServiceImpl
|
import com.aiosman.ravenow.data.CommentServiceImpl
|
||||||
import com.aiosman.riderpro.data.UserService
|
import com.aiosman.ravenow.data.UserService
|
||||||
import com.aiosman.riderpro.data.UserServiceImpl
|
import com.aiosman.ravenow.data.UserServiceImpl
|
||||||
import com.aiosman.riderpro.entity.CommentEntity
|
import com.aiosman.ravenow.entity.CommentEntity
|
||||||
import com.aiosman.riderpro.entity.CommentPagingSource
|
import com.aiosman.ravenow.entity.CommentPagingSource
|
||||||
|
|
||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
import kotlinx.coroutines.flow.asStateFlow
|
import kotlinx.coroutines.flow.asStateFlow
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
//import androidx.compose.foundation.layout.ColumnScopeInstance.weight
|
//import androidx.compose.foundation.layout.ColumnScopeInstance.weight
|
||||||
import androidx.compose.animation.animateColorAsState
|
import androidx.compose.animation.animateColorAsState
|
||||||
@@ -23,8 +23,8 @@ import androidx.compose.ui.text.style.TextAlign
|
|||||||
import androidx.compose.ui.unit.TextUnit
|
import androidx.compose.ui.unit.TextUnit
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun ActionButton(
|
fun ActionButton(
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.animation.AnimatedContent
|
import androidx.compose.animation.AnimatedContent
|
||||||
import androidx.compose.animation.SizeTransform
|
import androidx.compose.animation.SizeTransform
|
||||||
@@ -11,7 +11,7 @@ import androidx.compose.material3.Text
|
|||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun AnimatedCounter(count: Int, modifier: Modifier = Modifier, fontSize: Int = 24) {
|
fun AnimatedCounter(count: Int, modifier: Modifier = Modifier, fontSize: Int = 24) {
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.animation.core.Animatable
|
import androidx.compose.animation.core.Animatable
|
||||||
import androidx.compose.animation.core.tween
|
import androidx.compose.animation.core.tween
|
||||||
@@ -12,9 +12,9 @@ import androidx.compose.ui.Modifier
|
|||||||
import androidx.compose.ui.graphics.ColorFilter
|
import androidx.compose.ui.graphics.ColorFilter
|
||||||
import androidx.compose.ui.graphics.graphicsLayer
|
import androidx.compose.ui.graphics.graphicsLayer
|
||||||
import androidx.compose.ui.res.painterResource
|
import androidx.compose.ui.res.painterResource
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.animation.core.Animatable
|
import androidx.compose.animation.core.Animatable
|
||||||
import androidx.compose.animation.core.tween
|
import androidx.compose.animation.core.tween
|
||||||
@@ -12,9 +12,9 @@ import androidx.compose.ui.Modifier
|
|||||||
import androidx.compose.ui.graphics.ColorFilter
|
import androidx.compose.ui.graphics.ColorFilter
|
||||||
import androidx.compose.ui.graphics.graphicsLayer
|
import androidx.compose.ui.graphics.graphicsLayer
|
||||||
import androidx.compose.ui.res.painterResource
|
import androidx.compose.ui.res.painterResource
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@@ -1,23 +1,18 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import android.content.Context
|
|
||||||
import android.graphics.drawable.BitmapDrawable
|
|
||||||
import androidx.compose.foundation.layout.BoxWithConstraints
|
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
import androidx.compose.runtime.mutableStateOf
|
import androidx.compose.runtime.mutableStateOf
|
||||||
import androidx.compose.runtime.remember
|
import androidx.compose.runtime.remember
|
||||||
import androidx.compose.runtime.setValue
|
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.layout.ContentScale
|
import androidx.compose.ui.layout.ContentScale
|
||||||
import androidx.compose.ui.platform.LocalContext
|
import androidx.compose.ui.platform.LocalContext
|
||||||
import androidx.core.graphics.drawable.toDrawable
|
import androidx.core.graphics.drawable.toDrawable
|
||||||
import coil.ImageLoader
|
|
||||||
import coil.annotation.ExperimentalCoilApi
|
import coil.annotation.ExperimentalCoilApi
|
||||||
import coil.compose.AsyncImage
|
import coil.compose.AsyncImage
|
||||||
import coil.request.ImageRequest
|
import coil.request.ImageRequest
|
||||||
import com.aiosman.riderpro.utils.BlurHashDecoder
|
import com.aiosman.ravenow.utils.BlurHashDecoder
|
||||||
import com.aiosman.riderpro.utils.Utils.getImageLoader
|
import com.aiosman.ravenow.utils.Utils.getImageLoader
|
||||||
|
|
||||||
const val DEFAULT_HASHED_BITMAP_WIDTH = 4
|
const val DEFAULT_HASHED_BITMAP_WIDTH = 4
|
||||||
const val DEFAULT_HASHED_BITMAP_HEIGHT = 3
|
const val DEFAULT_HASHED_BITMAP_HEIGHT = 3
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.animation.animateColorAsState
|
import androidx.compose.animation.animateColorAsState
|
||||||
import androidx.compose.animation.core.animateDpAsState
|
import androidx.compose.animation.core.animateDpAsState
|
||||||
@@ -17,8 +17,8 @@ import androidx.compose.ui.Modifier
|
|||||||
import androidx.compose.ui.draw.clip
|
import androidx.compose.ui.draw.clip
|
||||||
import androidx.compose.ui.graphics.Color
|
import androidx.compose.ui.graphics.Color
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
|
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.foundation.layout.Row
|
import androidx.compose.foundation.layout.Row
|
||||||
import androidx.compose.foundation.layout.padding
|
import androidx.compose.foundation.layout.padding
|
||||||
@@ -8,7 +8,7 @@ import androidx.compose.ui.Modifier
|
|||||||
import androidx.compose.ui.text.TextStyle
|
import androidx.compose.ui.text.TextStyle
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun CheckboxWithLabel(
|
fun CheckboxWithLabel(
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import android.graphics.BitmapFactory
|
import android.graphics.BitmapFactory
|
||||||
import android.util.Base64
|
import android.util.Base64
|
||||||
@@ -31,8 +31,8 @@ import androidx.compose.ui.platform.LocalContext
|
|||||||
import androidx.compose.ui.platform.LocalDensity
|
import androidx.compose.ui.platform.LocalDensity
|
||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.data.api.CaptchaResponseBody
|
import com.aiosman.ravenow.data.api.CaptchaResponseBody
|
||||||
import java.io.ByteArrayInputStream
|
import java.io.ByteArrayInputStream
|
||||||
|
|
||||||
@OptIn(ExperimentalComposeUiApi::class)
|
@OptIn(ExperimentalComposeUiApi::class)
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.foundation.gestures.detectTapGestures
|
import androidx.compose.foundation.gestures.detectTapGestures
|
||||||
import androidx.compose.foundation.text.BasicText
|
import androidx.compose.foundation.text.BasicText
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.animation.core.Animatable
|
import androidx.compose.animation.core.Animatable
|
||||||
import androidx.compose.animation.core.Spring
|
import androidx.compose.animation.core.Spring
|
||||||
@@ -39,7 +39,6 @@ import androidx.compose.ui.zIndex
|
|||||||
import kotlinx.coroutines.CoroutineScope
|
import kotlinx.coroutines.CoroutineScope
|
||||||
import kotlinx.coroutines.channels.Channel
|
import kotlinx.coroutines.channels.Channel
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
import java.util.UUID
|
|
||||||
|
|
||||||
|
|
||||||
@OptIn(ExperimentalFoundationApi::class)
|
@OptIn(ExperimentalFoundationApi::class)
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
@@ -17,8 +17,8 @@ import androidx.compose.ui.Modifier
|
|||||||
import androidx.compose.ui.res.painterResource
|
import androidx.compose.ui.res.painterResource
|
||||||
import androidx.compose.ui.text.font.FontWeight
|
import androidx.compose.ui.text.font.FontWeight
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
|
|
||||||
data class MenuItem(
|
data class MenuItem(
|
||||||
val title: String,
|
val title: String,
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.animation.Crossfade
|
import androidx.compose.animation.Crossfade
|
||||||
import androidx.compose.animation.core.tween
|
import androidx.compose.animation.core.tween
|
||||||
@@ -41,10 +41,10 @@ import androidx.compose.ui.text.font.FontWeight
|
|||||||
import androidx.compose.ui.text.style.TextOverflow
|
import androidx.compose.ui.text.style.TextOverflow
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.entity.CommentEntity
|
import com.aiosman.ravenow.entity.CommentEntity
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun EditCommentBottomModal(
|
fun EditCommentBottomModal(
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
@@ -16,9 +16,9 @@ import androidx.compose.ui.text.font.FontWeight
|
|||||||
import androidx.compose.ui.unit.TextUnit
|
import androidx.compose.ui.unit.TextUnit
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun FollowButton(
|
fun FollowButton(
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.graphics.Bitmap
|
import android.graphics.Bitmap
|
||||||
@@ -12,15 +12,12 @@ import androidx.compose.runtime.setValue
|
|||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.layout.ContentScale
|
import androidx.compose.ui.layout.ContentScale
|
||||||
import androidx.compose.ui.platform.LocalContext
|
import androidx.compose.ui.platform.LocalContext
|
||||||
import androidx.compose.ui.unit.dp
|
|
||||||
import androidx.core.graphics.drawable.toBitmap
|
import androidx.core.graphics.drawable.toBitmap
|
||||||
import coil.ImageLoader
|
import coil.ImageLoader
|
||||||
import coil.compose.AsyncImage
|
import coil.compose.AsyncImage
|
||||||
import coil.compose.rememberAsyncImagePainter
|
|
||||||
import coil.compose.rememberImagePainter
|
|
||||||
import coil.request.ImageRequest
|
import coil.request.ImageRequest
|
||||||
import coil.request.SuccessResult
|
import coil.request.SuccessResult
|
||||||
import com.aiosman.riderpro.utils.Utils.getImageLoader
|
import com.aiosman.ravenow.utils.Utils.getImageLoader
|
||||||
import kotlinx.coroutines.Dispatchers
|
import kotlinx.coroutines.Dispatchers
|
||||||
import kotlinx.coroutines.withContext
|
import kotlinx.coroutines.withContext
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.annotation.DrawableRes
|
import androidx.annotation.DrawableRes
|
||||||
import androidx.compose.foundation.ExperimentalFoundationApi
|
import androidx.compose.foundation.ExperimentalFoundationApi
|
||||||
@@ -52,17 +52,17 @@ import androidx.compose.ui.text.font.FontWeight
|
|||||||
import androidx.compose.ui.text.style.TextAlign
|
import androidx.compose.ui.text.style.TextAlign
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import com.aiosman.riderpro.AppState
|
import com.aiosman.ravenow.AppState
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.entity.MomentEntity
|
import com.aiosman.ravenow.entity.MomentEntity
|
||||||
import com.aiosman.riderpro.entity.MomentImageEntity
|
import com.aiosman.ravenow.entity.MomentImageEntity
|
||||||
import com.aiosman.riderpro.exp.timeAgo
|
import com.aiosman.ravenow.exp.timeAgo
|
||||||
import com.aiosman.riderpro.ui.NavigationRoute
|
import com.aiosman.ravenow.ui.NavigationRoute
|
||||||
import com.aiosman.riderpro.ui.comment.CommentModalContent
|
import com.aiosman.ravenow.ui.comment.CommentModalContent
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
import com.aiosman.riderpro.ui.navigateToPost
|
import com.aiosman.ravenow.ui.navigateToPost
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun MomentCard(
|
fun MomentCard(
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import android.app.Activity
|
import android.app.Activity
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
@@ -6,7 +6,7 @@ import android.net.Uri
|
|||||||
import androidx.activity.compose.rememberLauncherForActivityResult
|
import androidx.activity.compose.rememberLauncherForActivityResult
|
||||||
import androidx.activity.result.contract.ActivityResultContracts
|
import androidx.activity.result.contract.ActivityResultContracts
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import com.aiosman.riderpro.utils.Utils
|
import com.aiosman.ravenow.utils.Utils
|
||||||
import kotlinx.coroutines.CoroutineScope
|
import kotlinx.coroutines.CoroutineScope
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
import java.io.File
|
import java.io.File
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import android.net.http.SslError
|
import android.net.http.SslError
|
||||||
import android.webkit.SslErrorHandler
|
import android.webkit.SslErrorHandler
|
||||||
@@ -11,7 +11,6 @@ import androidx.compose.foundation.layout.fillMaxSize
|
|||||||
import androidx.compose.foundation.layout.padding
|
import androidx.compose.foundation.layout.padding
|
||||||
import androidx.compose.foundation.lazy.LazyColumn
|
import androidx.compose.foundation.lazy.LazyColumn
|
||||||
import androidx.compose.foundation.text.ClickableText
|
import androidx.compose.foundation.text.ClickableText
|
||||||
import androidx.compose.material.ExperimentalMaterialApi
|
|
||||||
import androidx.compose.material3.ExperimentalMaterial3Api
|
import androidx.compose.material3.ExperimentalMaterial3Api
|
||||||
import androidx.compose.material3.ModalBottomSheet
|
import androidx.compose.material3.ModalBottomSheet
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
@@ -31,11 +30,11 @@ import androidx.compose.ui.text.withStyle
|
|||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import androidx.compose.ui.viewinterop.AndroidView
|
import androidx.compose.ui.viewinterop.AndroidView
|
||||||
import com.aiosman.riderpro.ConstVars
|
import com.aiosman.ravenow.ConstVars
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.data.DictService
|
import com.aiosman.ravenow.data.DictService
|
||||||
import com.aiosman.riderpro.data.DictServiceImpl
|
import com.aiosman.ravenow.data.DictServiceImpl
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
@OptIn(ExperimentalMaterial3Api::class)
|
@OptIn(ExperimentalMaterial3Api::class)
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
import androidx.compose.foundation.layout.Column
|
import androidx.compose.foundation.layout.Column
|
||||||
@@ -9,7 +9,7 @@ import androidx.compose.ui.Modifier
|
|||||||
import androidx.compose.ui.layout.ContentScale
|
import androidx.compose.ui.layout.ContentScale
|
||||||
import androidx.compose.ui.platform.LocalContext
|
import androidx.compose.ui.platform.LocalContext
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import com.aiosman.riderpro.entity.MomentEntity
|
import com.aiosman.ravenow.entity.MomentEntity
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun RelPostCard(
|
fun RelPostCard(
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
@@ -17,7 +17,7 @@ import androidx.compose.runtime.LaunchedEffect
|
|||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.compose.ui.graphics.Color
|
import androidx.compose.ui.graphics.Color
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.google.accompanist.systemuicontroller.rememberSystemUiController
|
import com.google.accompanist.systemuicontroller.rememberSystemUiController
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.foundation.layout.Spacer
|
import androidx.compose.foundation.layout.Spacer
|
||||||
import androidx.compose.foundation.layout.WindowInsets
|
import androidx.compose.foundation.layout.WindowInsets
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables
|
package com.aiosman.ravenow.ui.composables
|
||||||
|
|
||||||
import androidx.compose.animation.AnimatedContent
|
import androidx.compose.animation.AnimatedContent
|
||||||
import androidx.compose.animation.AnimatedVisibility
|
import androidx.compose.animation.AnimatedVisibility
|
||||||
@@ -18,8 +18,6 @@ import androidx.compose.foundation.layout.size
|
|||||||
import androidx.compose.foundation.shape.RoundedCornerShape
|
import androidx.compose.foundation.shape.RoundedCornerShape
|
||||||
import androidx.compose.foundation.text.BasicTextField
|
import androidx.compose.foundation.text.BasicTextField
|
||||||
import androidx.compose.foundation.text.KeyboardOptions
|
import androidx.compose.foundation.text.KeyboardOptions
|
||||||
import androidx.compose.material.icons.Icons
|
|
||||||
import androidx.compose.material3.Icon
|
|
||||||
import androidx.compose.material3.Text
|
import androidx.compose.material3.Text
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
@@ -39,12 +37,11 @@ import androidx.compose.ui.text.font.FontWeight
|
|||||||
import androidx.compose.ui.text.input.KeyboardType
|
import androidx.compose.ui.text.input.KeyboardType
|
||||||
import androidx.compose.ui.text.input.PasswordVisualTransformation
|
import androidx.compose.ui.text.input.PasswordVisualTransformation
|
||||||
import androidx.compose.ui.text.input.VisualTransformation
|
import androidx.compose.ui.text.input.VisualTransformation
|
||||||
import androidx.compose.ui.text.style.TextIndent
|
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun TextInputField(
|
fun TextInputField(
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables.form
|
package com.aiosman.ravenow.ui.composables.form
|
||||||
|
|
||||||
import androidx.compose.animation.AnimatedContent
|
import androidx.compose.animation.AnimatedContent
|
||||||
import androidx.compose.animation.AnimatedVisibility
|
import androidx.compose.animation.AnimatedVisibility
|
||||||
@@ -29,8 +29,8 @@ import androidx.compose.ui.text.TextStyle
|
|||||||
import androidx.compose.ui.text.font.FontWeight
|
import androidx.compose.ui.text.font.FontWeight
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun FormTextInput(
|
fun FormTextInput(
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
* OR OTHER DEALINGS IN THE SOFTWARE.
|
* OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.aiosman.riderpro.ui.composables.toolbar
|
package com.aiosman.ravenow.ui.composables.toolbar
|
||||||
|
|
||||||
@RequiresOptIn(
|
@RequiresOptIn(
|
||||||
message = "This is an experimental API of compose-collapsing-toolbar. Any declarations with " +
|
message = "This is an experimental API of compose-collapsing-toolbar. Any declarations with " +
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
* OR OTHER DEALINGS IN THE SOFTWARE.
|
* OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.aiosman.riderpro.ui.composables.toolbar
|
package com.aiosman.ravenow.ui.composables.toolbar
|
||||||
|
|
||||||
import androidx.compose.foundation.gestures.ScrollableDefaults
|
import androidx.compose.foundation.gestures.ScrollableDefaults
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
* OR OTHER DEALINGS IN THE SOFTWARE.
|
* OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.aiosman.riderpro.ui.composables.toolbar
|
package com.aiosman.ravenow.ui.composables.toolbar
|
||||||
|
|
||||||
import androidx.annotation.FloatRange
|
import androidx.annotation.FloatRange
|
||||||
import androidx.compose.animation.core.AnimationState
|
import androidx.compose.animation.core.AnimationState
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
* OR OTHER DEALINGS IN THE SOFTWARE.
|
* OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.aiosman.riderpro.ui.composables.toolbar
|
package com.aiosman.ravenow.ui.composables.toolbar
|
||||||
|
|
||||||
import androidx.compose.foundation.ScrollState
|
import androidx.compose.foundation.ScrollState
|
||||||
import androidx.compose.foundation.gestures.ScrollableDefaults
|
import androidx.compose.foundation.gestures.ScrollableDefaults
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
* OR OTHER DEALINGS IN THE SOFTWARE.
|
* OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.aiosman.riderpro.ui.composables.toolbar
|
package com.aiosman.ravenow.ui.composables.toolbar
|
||||||
|
|
||||||
import androidx.compose.runtime.Immutable
|
import androidx.compose.runtime.Immutable
|
||||||
|
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
package com.aiosman.ravenow.ui.composables.toolbar
|
||||||
|
|
||||||
|
enum class FabPosition {
|
||||||
|
Center,
|
||||||
|
End
|
||||||
|
}
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
* OR OTHER DEALINGS IN THE SOFTWARE.
|
* OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.aiosman.riderpro.ui.composables.toolbar
|
package com.aiosman.ravenow.ui.composables.toolbar
|
||||||
|
|
||||||
import androidx.compose.foundation.gestures.FlingBehavior
|
import androidx.compose.foundation.gestures.FlingBehavior
|
||||||
import androidx.compose.runtime.MutableState
|
import androidx.compose.runtime.MutableState
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.composables.toolbar
|
package com.aiosman.ravenow.ui.composables.toolbar
|
||||||
|
|
||||||
import androidx.compose.foundation.ScrollState
|
import androidx.compose.foundation.ScrollState
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.crop
|
package com.aiosman.ravenow.ui.crop
|
||||||
|
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.graphics.Bitmap
|
import android.graphics.Bitmap
|
||||||
@@ -37,10 +37,10 @@ import androidx.compose.ui.platform.LocalDensity
|
|||||||
import androidx.compose.ui.res.painterResource
|
import androidx.compose.ui.res.painterResource
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.lifecycle.viewModelScope
|
import androidx.lifecycle.viewModelScope
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.account.AccountEditViewModel
|
import com.aiosman.ravenow.ui.account.AccountEditViewModel
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarSpacer
|
import com.aiosman.ravenow.ui.composables.StatusBarSpacer
|
||||||
import com.google.accompanist.systemuicontroller.rememberSystemUiController
|
import com.google.accompanist.systemuicontroller.rememberSystemUiController
|
||||||
import com.image.cropview.CropType
|
import com.image.cropview.CropType
|
||||||
import com.image.cropview.EdgeType
|
import com.image.cropview.EdgeType
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
package com.aiosman.riderpro.ui.dialogs
|
package com.aiosman.ravenow.ui.dialogs
|
||||||
|
|
||||||
import android.content.Intent
|
import android.content.Intent
|
||||||
import android.util.Log
|
|
||||||
import androidx.compose.foundation.Image
|
import androidx.compose.foundation.Image
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
@@ -34,11 +33,11 @@ import androidx.compose.ui.text.font.FontWeight
|
|||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import androidx.core.content.FileProvider
|
import androidx.core.content.FileProvider
|
||||||
import com.aiosman.riderpro.ConstVars
|
import com.aiosman.ravenow.ConstVars
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.model.UpdateInfo
|
import com.aiosman.ravenow.model.UpdateInfo
|
||||||
import com.aiosman.riderpro.ui.composables.ActionButton
|
import com.aiosman.ravenow.ui.composables.ActionButton
|
||||||
import com.google.firebase.perf.config.RemoteConfigManager.getVersionCode
|
import com.google.firebase.perf.config.RemoteConfigManager.getVersionCode
|
||||||
import com.google.gson.Gson
|
import com.google.gson.Gson
|
||||||
import kotlinx.coroutines.Dispatchers
|
import kotlinx.coroutines.Dispatchers
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.favourite
|
package com.aiosman.ravenow.ui.favourite
|
||||||
|
|
||||||
import androidx.compose.foundation.Image
|
import androidx.compose.foundation.Image
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
@@ -26,15 +26,15 @@ import androidx.compose.ui.res.painterResource
|
|||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.paging.compose.collectAsLazyPagingItems
|
import androidx.paging.compose.collectAsLazyPagingItems
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.comment.NoticeScreenHeader
|
import com.aiosman.ravenow.ui.comment.NoticeScreenHeader
|
||||||
import com.aiosman.riderpro.ui.composables.CustomAsyncImage
|
import com.aiosman.ravenow.ui.composables.CustomAsyncImage
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarSpacer
|
import com.aiosman.ravenow.ui.composables.StatusBarSpacer
|
||||||
import com.aiosman.riderpro.ui.favourite.FavouriteListViewModel.refreshPager
|
import com.aiosman.ravenow.ui.favourite.FavouriteListViewModel.refreshPager
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
import com.aiosman.riderpro.ui.navigateToPost
|
import com.aiosman.ravenow.ui.navigateToPost
|
||||||
|
|
||||||
@OptIn(ExperimentalMaterialApi::class)
|
@OptIn(ExperimentalMaterialApi::class)
|
||||||
@Composable
|
@Composable
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.favourite
|
package com.aiosman.ravenow.ui.favourite
|
||||||
|
|
||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
import androidx.compose.runtime.mutableStateOf
|
import androidx.compose.runtime.mutableStateOf
|
||||||
@@ -9,12 +9,12 @@ import androidx.paging.Pager
|
|||||||
import androidx.paging.PagingConfig
|
import androidx.paging.PagingConfig
|
||||||
import androidx.paging.PagingData
|
import androidx.paging.PagingData
|
||||||
import androidx.paging.cachedIn
|
import androidx.paging.cachedIn
|
||||||
import com.aiosman.riderpro.AppState
|
import com.aiosman.ravenow.AppState
|
||||||
import com.aiosman.riderpro.data.MomentService
|
import com.aiosman.ravenow.data.MomentService
|
||||||
import com.aiosman.riderpro.entity.MomentEntity
|
import com.aiosman.ravenow.entity.MomentEntity
|
||||||
import com.aiosman.riderpro.entity.MomentPagingSource
|
import com.aiosman.ravenow.entity.MomentPagingSource
|
||||||
import com.aiosman.riderpro.entity.MomentRemoteDataSource
|
import com.aiosman.ravenow.entity.MomentRemoteDataSource
|
||||||
import com.aiosman.riderpro.entity.MomentServiceImpl
|
import com.aiosman.ravenow.entity.MomentServiceImpl
|
||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
import kotlinx.coroutines.flow.asStateFlow
|
import kotlinx.coroutines.flow.asStateFlow
|
||||||
import kotlinx.coroutines.flow.collectLatest
|
import kotlinx.coroutines.flow.collectLatest
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.favourite
|
package com.aiosman.ravenow.ui.favourite
|
||||||
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
@@ -14,12 +14,12 @@ import androidx.compose.ui.graphics.Color
|
|||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.paging.compose.collectAsLazyPagingItems
|
import androidx.paging.compose.collectAsLazyPagingItems
|
||||||
import com.aiosman.riderpro.AppState
|
import com.aiosman.ravenow.AppState
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.comment.NoticeScreenHeader
|
import com.aiosman.ravenow.ui.comment.NoticeScreenHeader
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarMaskLayout
|
import com.aiosman.ravenow.ui.composables.StatusBarMaskLayout
|
||||||
import com.aiosman.riderpro.ui.composables.BottomNavigationPlaceholder
|
import com.aiosman.ravenow.ui.composables.BottomNavigationPlaceholder
|
||||||
import com.aiosman.riderpro.ui.like.ActionPostNoticeItem
|
import com.aiosman.ravenow.ui.like.ActionPostNoticeItem
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 收藏消息界面
|
* 收藏消息界面
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.favourite
|
package com.aiosman.ravenow.ui.favourite
|
||||||
|
|
||||||
import android.icu.util.Calendar
|
import android.icu.util.Calendar
|
||||||
import androidx.lifecycle.ViewModel
|
import androidx.lifecycle.ViewModel
|
||||||
@@ -7,12 +7,12 @@ import androidx.paging.Pager
|
|||||||
import androidx.paging.PagingConfig
|
import androidx.paging.PagingConfig
|
||||||
import androidx.paging.PagingData
|
import androidx.paging.PagingData
|
||||||
import androidx.paging.cachedIn
|
import androidx.paging.cachedIn
|
||||||
import com.aiosman.riderpro.entity.AccountFavouriteEntity
|
import com.aiosman.ravenow.entity.AccountFavouriteEntity
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.entity.FavoriteItemPagingSource
|
import com.aiosman.ravenow.entity.FavoriteItemPagingSource
|
||||||
import com.aiosman.riderpro.data.AccountServiceImpl
|
import com.aiosman.ravenow.data.AccountServiceImpl
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
import com.aiosman.ravenow.data.api.ApiClient
|
||||||
import com.aiosman.riderpro.data.api.UpdateNoticeRequestBody
|
import com.aiosman.ravenow.data.api.UpdateNoticeRequestBody
|
||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
import kotlinx.coroutines.flow.asStateFlow
|
import kotlinx.coroutines.flow.asStateFlow
|
||||||
import kotlinx.coroutines.flow.collectLatest
|
import kotlinx.coroutines.flow.collectLatest
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.follower
|
package com.aiosman.ravenow.ui.follower
|
||||||
|
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.layout.Box
|
import androidx.compose.foundation.layout.Box
|
||||||
@@ -18,10 +18,10 @@ import androidx.compose.ui.Modifier
|
|||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.paging.compose.collectAsLazyPagingItems
|
import androidx.paging.compose.collectAsLazyPagingItems
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.comment.NoticeScreenHeader
|
import com.aiosman.ravenow.ui.comment.NoticeScreenHeader
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarMaskLayout
|
import com.aiosman.ravenow.ui.composables.StatusBarMaskLayout
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
@OptIn(ExperimentalMaterialApi::class)
|
@OptIn(ExperimentalMaterialApi::class)
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.follower
|
package com.aiosman.ravenow.ui.follower
|
||||||
|
|
||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
import androidx.compose.runtime.mutableStateOf
|
import androidx.compose.runtime.mutableStateOf
|
||||||
@@ -10,9 +10,9 @@ import androidx.paging.PagingConfig
|
|||||||
import androidx.paging.PagingData
|
import androidx.paging.PagingData
|
||||||
import androidx.paging.cachedIn
|
import androidx.paging.cachedIn
|
||||||
import androidx.paging.map
|
import androidx.paging.map
|
||||||
import com.aiosman.riderpro.data.UserServiceImpl
|
import com.aiosman.ravenow.data.UserServiceImpl
|
||||||
import com.aiosman.riderpro.entity.AccountPagingSource
|
import com.aiosman.ravenow.entity.AccountPagingSource
|
||||||
import com.aiosman.riderpro.entity.AccountProfileEntity
|
import com.aiosman.ravenow.entity.AccountProfileEntity
|
||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
import kotlinx.coroutines.flow.asStateFlow
|
import kotlinx.coroutines.flow.asStateFlow
|
||||||
import kotlinx.coroutines.flow.collectLatest
|
import kotlinx.coroutines.flow.collectLatest
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.follower
|
package com.aiosman.ravenow.ui.follower
|
||||||
|
|
||||||
import androidx.compose.foundation.Image
|
import androidx.compose.foundation.Image
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
@@ -27,15 +27,15 @@ import androidx.compose.ui.text.font.FontWeight
|
|||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import androidx.paging.compose.collectAsLazyPagingItems
|
import androidx.paging.compose.collectAsLazyPagingItems
|
||||||
import com.aiosman.riderpro.AppState
|
import com.aiosman.ravenow.AppState
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.LocalNavController
|
import com.aiosman.ravenow.LocalNavController
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.NavigationRoute
|
import com.aiosman.ravenow.ui.NavigationRoute
|
||||||
import com.aiosman.riderpro.ui.comment.NoticeScreenHeader
|
import com.aiosman.ravenow.ui.comment.NoticeScreenHeader
|
||||||
import com.aiosman.riderpro.ui.composables.CustomAsyncImage
|
import com.aiosman.ravenow.ui.composables.CustomAsyncImage
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarMaskLayout
|
import com.aiosman.ravenow.ui.composables.StatusBarMaskLayout
|
||||||
import com.aiosman.riderpro.ui.modifiers.noRippleClickable
|
import com.aiosman.ravenow.ui.modifiers.noRippleClickable
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.follower
|
package com.aiosman.ravenow.ui.follower
|
||||||
|
|
||||||
import android.icu.util.Calendar
|
import android.icu.util.Calendar
|
||||||
import androidx.lifecycle.ViewModel
|
import androidx.lifecycle.ViewModel
|
||||||
@@ -8,14 +8,14 @@ import androidx.paging.PagingConfig
|
|||||||
import androidx.paging.PagingData
|
import androidx.paging.PagingData
|
||||||
import androidx.paging.cachedIn
|
import androidx.paging.cachedIn
|
||||||
import androidx.paging.map
|
import androidx.paging.map
|
||||||
import com.aiosman.riderpro.data.AccountFollow
|
import com.aiosman.ravenow.data.AccountFollow
|
||||||
import com.aiosman.riderpro.data.AccountService
|
import com.aiosman.ravenow.data.AccountService
|
||||||
import com.aiosman.riderpro.entity.FollowItemPagingSource
|
import com.aiosman.ravenow.entity.FollowItemPagingSource
|
||||||
import com.aiosman.riderpro.data.AccountServiceImpl
|
import com.aiosman.ravenow.data.AccountServiceImpl
|
||||||
import com.aiosman.riderpro.data.UserServiceImpl
|
import com.aiosman.ravenow.data.UserServiceImpl
|
||||||
import com.aiosman.riderpro.data.UserService
|
import com.aiosman.ravenow.data.UserService
|
||||||
import com.aiosman.riderpro.data.api.ApiClient
|
import com.aiosman.ravenow.data.api.ApiClient
|
||||||
import com.aiosman.riderpro.data.api.UpdateNoticeRequestBody
|
import com.aiosman.ravenow.data.api.UpdateNoticeRequestBody
|
||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
import kotlinx.coroutines.flow.asStateFlow
|
import kotlinx.coroutines.flow.asStateFlow
|
||||||
import kotlinx.coroutines.flow.collectLatest
|
import kotlinx.coroutines.flow.collectLatest
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.follower
|
package com.aiosman.ravenow.ui.follower
|
||||||
|
|
||||||
import androidx.compose.foundation.Image
|
import androidx.compose.foundation.Image
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
@@ -25,10 +25,10 @@ import androidx.compose.ui.text.font.FontWeight
|
|||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import androidx.paging.compose.collectAsLazyPagingItems
|
import androidx.paging.compose.collectAsLazyPagingItems
|
||||||
import com.aiosman.riderpro.LocalAppTheme
|
import com.aiosman.ravenow.LocalAppTheme
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.aiosman.riderpro.ui.comment.NoticeScreenHeader
|
import com.aiosman.ravenow.ui.comment.NoticeScreenHeader
|
||||||
import com.aiosman.riderpro.ui.composables.StatusBarMaskLayout
|
import com.aiosman.ravenow.ui.composables.StatusBarMaskLayout
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
@OptIn(ExperimentalMaterialApi::class)
|
@OptIn(ExperimentalMaterialApi::class)
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.follower
|
package com.aiosman.ravenow.ui.follower
|
||||||
|
|
||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
import androidx.compose.runtime.mutableStateOf
|
import androidx.compose.runtime.mutableStateOf
|
||||||
@@ -10,9 +10,9 @@ import androidx.paging.PagingConfig
|
|||||||
import androidx.paging.PagingData
|
import androidx.paging.PagingData
|
||||||
import androidx.paging.cachedIn
|
import androidx.paging.cachedIn
|
||||||
import androidx.paging.map
|
import androidx.paging.map
|
||||||
import com.aiosman.riderpro.data.UserServiceImpl
|
import com.aiosman.ravenow.data.UserServiceImpl
|
||||||
import com.aiosman.riderpro.entity.AccountPagingSource
|
import com.aiosman.ravenow.entity.AccountPagingSource
|
||||||
import com.aiosman.riderpro.entity.AccountProfileEntity
|
import com.aiosman.ravenow.entity.AccountProfileEntity
|
||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
import kotlinx.coroutines.flow.asStateFlow
|
import kotlinx.coroutines.flow.asStateFlow
|
||||||
import kotlinx.coroutines.flow.collectLatest
|
import kotlinx.coroutines.flow.collectLatest
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package com.aiosman.riderpro.ui.gallery
|
package com.aiosman.ravenow.ui.gallery
|
||||||
|
|
||||||
import androidx.compose.foundation.Canvas
|
import androidx.compose.foundation.Canvas
|
||||||
import androidx.compose.foundation.ExperimentalFoundationApi
|
import androidx.compose.foundation.ExperimentalFoundationApi
|
||||||
@@ -44,7 +44,7 @@ import androidx.compose.ui.res.painterResource
|
|||||||
import androidx.compose.ui.tooling.preview.Preview
|
import androidx.compose.ui.tooling.preview.Preview
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
import com.aiosman.riderpro.R
|
import com.aiosman.ravenow.R
|
||||||
import com.google.accompanist.systemuicontroller.rememberSystemUiController
|
import com.google.accompanist.systemuicontroller.rememberSystemUiController
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user