Skip to content

Commit

Permalink
refactor: Package name
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-elimu committed Mar 30, 2024
1 parent 7c50884 commit 3b51085
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ plugins {
}

android {
namespace = "com.google.ai.soga"
namespace = "ai.elimu.soga"
compileSdk = 34

defaultConfig {
applicationId = "com.google.ai.soga"
applicationId = "ai.elimu.soga"
minSdk = 26
targetSdk = 34
versionCode = 1000000
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package com.google.ai.soga
package ai.elimu.soga

import androidx.lifecycle.ViewModel
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.viewmodel.CreationExtras
import com.google.ai.client.generativeai.GenerativeModel
import com.google.ai.client.generativeai.type.generationConfig
import com.google.ai.soga.feature.chat.ChatViewModel
import ai.elimu.soga.feature.chat.ChatViewModel

val GenerativeViewModelFactory = object : ViewModelProvider.Factory {
override fun <T : ViewModel> create(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.google.ai.soga
package ai.elimu.soga

import android.os.Bundle
import androidx.activity.ComponentActivity
Expand All @@ -10,8 +10,8 @@ import androidx.compose.ui.Modifier
import androidx.navigation.compose.NavHost
import androidx.navigation.compose.composable
import androidx.navigation.compose.rememberNavController
import com.google.ai.soga.feature.chat.ChatRoute
import com.google.ai.soga.ui.theme.GenerativeAISample
import ai.elimu.soga.feature.chat.ChatRoute
import ai.elimu.soga.ui.theme.GenerativeAISample

class MainActivity : ComponentActivity() {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.google.ai.soga
package ai.elimu.soga

import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.google.ai.soga.feature.chat
package ai.elimu.soga.feature.chat

import java.util.UUID

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.google.ai.soga.feature.chat
package ai.elimu.soga.feature.chat

import androidx.compose.foundation.layout.BoxWithConstraints
import androidx.compose.foundation.layout.Column
Expand Down Expand Up @@ -38,8 +38,8 @@ import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.input.KeyboardCapitalization
import androidx.compose.ui.unit.dp
import androidx.lifecycle.viewmodel.compose.viewModel
import com.google.ai.soga.GenerativeViewModelFactory
import com.google.ai.soga.R
import ai.elimu.soga.GenerativeViewModelFactory
import ai.elimu.soga.R
import kotlinx.coroutines.launch

@Composable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.google.ai.soga.feature.chat
package ai.elimu.soga.feature.chat

import androidx.compose.runtime.toMutableStateList

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.google.ai.soga.feature.chat
package ai.elimu.soga.feature.chat

import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.google.ai.soga.ui.theme
package ai.elimu.soga.ui.theme

import androidx.compose.ui.graphics.Color

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.google.ai.soga.ui.theme
package ai.elimu.soga.ui.theme

import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.google.ai.soga.ui.theme
package ai.elimu.soga.ui.theme

import androidx.compose.material3.Typography
import androidx.compose.ui.text.TextStyle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.google.ai.soga.util
package ai.elimu.soga.util

import android.net.Uri
import androidx.compose.runtime.saveable.Saver
Expand Down

0 comments on commit 3b51085

Please sign in to comment.