From ea1114a337555ebf763389659d836bf8bb38ac23 Mon Sep 17 00:00:00 2001 From: Sudhanshu Date: Sun, 22 May 2022 02:03:31 +0530 Subject: [PATCH] Fix Bug #41 Fix bug #41 Made Naming Convention symmetrical. as 'Nia' instead of 'NiA' as that sounds more subtle and easy to follow in camel-case notation based Naming --- app-nia-catalog/src/main/AndroidManifest.xml | 4 ++-- app-nia-catalog/src/main/res/values/themes.xml | 2 +- app/src/main/AndroidManifest.xml | 2 +- .../apps/nowinandroid/{NiAApp.kt => NiaApp.kt} | 2 +- .../samples/apps/nowinandroid/ui/NiaApp.kt | 8 ++++---- .../OfflineFirstAuthorsRepository.kt | 4 ++-- .../repository/OfflineFirstNewsRepository.kt | 4 ++-- .../repository/OfflineFirstTopicsRepository.kt | 4 ++-- .../core/data/testdoubles/TestNiaNetwork.kt | 6 +++--- .../core/database/dao/NewsResourceDaoTest.kt | 6 +++--- .../nowinandroid/core/database/DaosModule.kt | 8 ++++---- .../core/database/DatabaseModule.kt | 4 ++-- .../{NiADatabase.kt => NiaDatabase.kt} | 2 +- .../core/network/di/NetworkModule.kt | 8 ++++---- .../network/{NiANetwork.kt => NiaNetwork.kt} | 2 +- .../{FakeNiANetwork.kt => FakeNiaNetwork.kt} | 8 ++++---- ...ofitNiANetwork.kt => RetrofitNiaNetwork.kt} | 18 +++++++++--------- ...NiANetworkTest.kt => FakeNiaNetworkTest.kt} | 6 +++--- 18 files changed, 49 insertions(+), 49 deletions(-) rename app/src/main/java/com/google/samples/apps/nowinandroid/{NiAApp.kt => NiaApp.kt} (97%) rename core-database/src/main/java/com/google/samples/apps/nowinandroid/core/database/{NiADatabase.kt => NiaDatabase.kt} (98%) rename core-network/src/main/java/com/google/samples/apps/nowinandroid/core/network/{NiANetwork.kt => NiaNetwork.kt} (98%) rename core-network/src/main/java/com/google/samples/apps/nowinandroid/core/network/fake/{FakeNiANetwork.kt => FakeNiaNetwork.kt} (93%) rename core-network/src/main/java/com/google/samples/apps/nowinandroid/core/network/retrofit/{RetrofitNiANetwork.kt => RetrofitNiaNetwork.kt} (90%) rename core-network/src/test/java/com/google/samples/apps/nowinandroid/core/network/fake/{FakeNiANetworkTest.kt => FakeNiaNetworkTest.kt} (93%) diff --git a/app-nia-catalog/src/main/AndroidManifest.xml b/app-nia-catalog/src/main/AndroidManifest.xml index cd0b1e371..0d74ce017 100644 --- a/app-nia-catalog/src/main/AndroidManifest.xml +++ b/app-nia-catalog/src/main/AndroidManifest.xml @@ -23,12 +23,12 @@ android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" - android:theme="@style/Theme.NiACatalog"> + android:theme="@style/Theme.NiaCatalog"> + android:theme="@style/Theme.NiaCatalog"> diff --git a/app-nia-catalog/src/main/res/values/themes.xml b/app-nia-catalog/src/main/res/values/themes.xml index 6e88adc0b..9aeeb83a6 100644 --- a/app-nia-catalog/src/main/res/values/themes.xml +++ b/app-nia-catalog/src/main/res/values/themes.xml @@ -15,5 +15,5 @@ limitations under the License. --> -