Skip to content

Commit

Permalink
- ComponentActivity changed to AppCompatActivity
Browse files Browse the repository at this point in the history
- Changed util name to utils
  • Loading branch information
muradnajafli committed Apr 30, 2024
1 parent 959c28e commit 4511b6c
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import androidx.activity.compose.setContent
import androidx.appcompat.app.AppCompatActivity
import com.muradnajafli.newscatcher.navigation.NewsNavigator
import com.muradnajafli.newscatcher.ui.theme.NewsCatcherTheme
import com.muradnajafli.newscatcher.util.LanguageUtils
import com.muradnajafli.newscatcher.utils.LanguageUtils
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.core.Preferences
import com.muradnajafli.newscatcher.data.repository.local.DataStoreRepositoryImpl
import com.muradnajafli.newscatcher.util.dataStore
import com.muradnajafli.newscatcher.utils.dataStore
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.muradnajafli.newscatcher.di

import com.muradnajafli.newscatcher.data.retrofit.NewsApi
import com.muradnajafli.newscatcher.util.Constants
import com.muradnajafli.newscatcher.utils.Constants
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import com.google.gson.annotations.SerializedName
import com.muradnajafli.newscatcher.util.DateUtils
import com.muradnajafli.newscatcher.utils.DateUtils
import kotlinx.parcelize.Parcelize

@Parcelize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp
import com.muradnajafli.newscatcher.domain.model.Article
import com.muradnajafli.newscatcher.presentation.common.ArticleItem
import com.muradnajafli.newscatcher.util.DateUtils
import com.muradnajafli.newscatcher.utils.DateUtils

@Composable
fun BookMarkScreen(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import com.muradnajafli.newscatcher.domain.model.Article
import com.muradnajafli.newscatcher.presentation.home.components.ImageSlider
import com.muradnajafli.newscatcher.presentation.home.components.SearchPanel
import com.muradnajafli.newscatcher.presentation.home.components.SettingsColumn
import com.muradnajafli.newscatcher.util.UiText
import com.muradnajafli.newscatcher.utils.UiText

@Composable
fun HomeScreen(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import com.muradnajafli.newscatcher.domain.model.Article
import com.muradnajafli.newscatcher.domain.usecase.dropdown.ReadLanguageUseCase
import com.muradnajafli.newscatcher.domain.usecase.home.GetLatestHeadlinesUseCase
import com.muradnajafli.newscatcher.domain.usecase.home.GetNewsFromSearchUseCase
import com.muradnajafli.newscatcher.util.InternetChecker
import com.muradnajafli.newscatcher.util.UiText
import com.muradnajafli.newscatcher.utils.InternetChecker
import com.muradnajafli.newscatcher.utils.UiText
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import androidx.compose.ui.graphics.Color
import androidx.compose.ui.text.font.FontWeight
import androidx.compose.ui.unit.dp
import androidx.compose.ui.unit.sp
import com.muradnajafli.newscatcher.util.DateUtils
import com.muradnajafli.newscatcher.utils.DateUtils

@Composable
fun SettingsColumn(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.muradnajafli.newscatcher.util
package com.muradnajafli.newscatcher.utils

import com.muradnajafli.newscatcher.BuildConfig

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.muradnajafli.newscatcher.util
package com.muradnajafli.newscatcher.utils

import android.content.Context
import androidx.datastore.core.DataStore
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.muradnajafli.newscatcher.util
package com.muradnajafli.newscatcher.utils

import java.text.SimpleDateFormat
import java.util.Date
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.muradnajafli.newscatcher.util
package com.muradnajafli.newscatcher.utils

import android.content.Context
import android.net.ConnectivityManager
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.muradnajafli.newscatcher.util
package com.muradnajafli.newscatcher.utils


import android.os.LocaleList
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.muradnajafli.newscatcher.util
package com.muradnajafli.newscatcher.utils

import androidx.annotation.StringRes
import androidx.compose.runtime.Composable
Expand Down

0 comments on commit 4511b6c

Please sign in to comment.