Какое-то шевеление
This commit is contained in:
@@ -8,12 +8,13 @@
|
||||
android:fullBackupContent="@xml/backup_rules"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:name=".WallencApplication"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.Wallenc"
|
||||
tools:targetApi="31">
|
||||
<activity
|
||||
android:name=".ui.MainActivity"
|
||||
android:name=".MainActivity"
|
||||
android:exported="true"
|
||||
android:theme="@style/Theme.Wallenc">
|
||||
<intent-filter>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package ru.freedominc.wallenc.ui
|
||||
package ru.freedominc.wallenc
|
||||
|
||||
import android.os.Bundle
|
||||
import android.widget.Toast
|
||||
@@ -23,8 +23,10 @@ import com.yandex.authsdk.YandexAuthOptions
|
||||
import com.yandex.authsdk.YandexAuthResult
|
||||
import com.yandex.authsdk.YandexAuthSdk
|
||||
import com.yandex.authsdk.internal.strategy.LoginType
|
||||
import dagger.hilt.android.AndroidEntryPoint
|
||||
import ru.freedominc.wallenc.ui.theme.WallencTheme
|
||||
|
||||
@AndroidEntryPoint
|
||||
class MainActivity : ComponentActivity() {
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
@@ -39,7 +41,6 @@ class MainActivity : ComponentActivity() {
|
||||
WallencTheme {
|
||||
Scaffold(modifier = Modifier.fillMaxSize()) { innerPadding ->
|
||||
Greeting(modifier = Modifier.padding(innerPadding)) {
|
||||
|
||||
launcher.launch(loginOptions)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package ru.freedominc.wallenc
|
||||
|
||||
import android.app.Application
|
||||
import dagger.hilt.android.HiltAndroidApp
|
||||
|
||||
@HiltAndroidApp
|
||||
class WallencApplication : Application() {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package ru.freedominc.wallenc.ui.screens.main
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
|
||||
@Composable
|
||||
fun MainScreen(viewModel: MainViewModel) {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package ru.freedominc.wallenc.ui.screens.main
|
||||
|
||||
data class MainScreenState(val value: Int)
|
||||
@@ -0,0 +1,9 @@
|
||||
package ru.freedominc.wallenc.ui.screens.main
|
||||
|
||||
import androidx.lifecycle.ViewModel
|
||||
import dagger.hilt.android.lifecycle.HiltViewModel
|
||||
|
||||
@HiltViewModel
|
||||
class MainViewModel : ViewModel() {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user