diff --git a/app/src/main/java/com/sadellie/unitto/MainActivity.kt b/app/src/main/java/com/sadellie/unitto/MainActivity.kt index 89c56f06..33855faf 100644 --- a/app/src/main/java/com/sadellie/unitto/MainActivity.kt +++ b/app/src/main/java/com/sadellie/unitto/MainActivity.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto import android.os.Bundle diff --git a/app/src/main/java/com/sadellie/unitto/UnittoApplication.kt b/app/src/main/java/com/sadellie/unitto/UnittoApplication.kt index 467364a8..836c3ced 100644 --- a/app/src/main/java/com/sadellie/unitto/UnittoApplication.kt +++ b/app/src/main/java/com/sadellie/unitto/UnittoApplication.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto import android.app.Application diff --git a/app/src/main/java/com/sadellie/unitto/data/KeypadSymbols.kt b/app/src/main/java/com/sadellie/unitto/data/KeypadSymbols.kt index fdf1f8f9..7fbb619f 100644 --- a/app/src/main/java/com/sadellie/unitto/data/KeypadSymbols.kt +++ b/app/src/main/java/com/sadellie/unitto/data/KeypadSymbols.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data const val KEY_1 = "1" diff --git a/app/src/main/java/com/sadellie/unitto/data/Library.kt b/app/src/main/java/com/sadellie/unitto/data/Library.kt index aeeaf671..0226c04a 100644 --- a/app/src/main/java/com/sadellie/unitto/data/Library.kt +++ b/app/src/main/java/com/sadellie/unitto/data/Library.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data diff --git a/app/src/main/java/com/sadellie/unitto/data/NavRoutes.kt b/app/src/main/java/com/sadellie/unitto/data/NavRoutes.kt index 96ae7535..65c1e595 100644 --- a/app/src/main/java/com/sadellie/unitto/data/NavRoutes.kt +++ b/app/src/main/java/com/sadellie/unitto/data/NavRoutes.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data const val MAIN_SCREEN = "MainScreen" diff --git a/app/src/main/java/com/sadellie/unitto/data/preferences/AppTheme.kt b/app/src/main/java/com/sadellie/unitto/data/preferences/AppTheme.kt index d878e2ae..d5e6db66 100644 --- a/app/src/main/java/com/sadellie/unitto/data/preferences/AppTheme.kt +++ b/app/src/main/java/com/sadellie/unitto/data/preferences/AppTheme.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.preferences import android.os.Build diff --git a/app/src/main/java/com/sadellie/unitto/data/preferences/DataStoreModule.kt b/app/src/main/java/com/sadellie/unitto/data/preferences/DataStoreModule.kt index 3ae74e68..8c0f6467 100644 --- a/app/src/main/java/com/sadellie/unitto/data/preferences/DataStoreModule.kt +++ b/app/src/main/java/com/sadellie/unitto/data/preferences/DataStoreModule.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.preferences import android.content.Context diff --git a/app/src/main/java/com/sadellie/unitto/data/preferences/OutputFormat.kt b/app/src/main/java/com/sadellie/unitto/data/preferences/OutputFormat.kt index 053d39cc..9ab396a1 100644 --- a/app/src/main/java/com/sadellie/unitto/data/preferences/OutputFormat.kt +++ b/app/src/main/java/com/sadellie/unitto/data/preferences/OutputFormat.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.preferences import com.sadellie.unitto.R diff --git a/app/src/main/java/com/sadellie/unitto/data/preferences/Precision.kt b/app/src/main/java/com/sadellie/unitto/data/preferences/Precision.kt index ef67a5ba..ac9749c0 100644 --- a/app/src/main/java/com/sadellie/unitto/data/preferences/Precision.kt +++ b/app/src/main/java/com/sadellie/unitto/data/preferences/Precision.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.preferences import com.sadellie.unitto.R diff --git a/app/src/main/java/com/sadellie/unitto/data/preferences/Separator.kt b/app/src/main/java/com/sadellie/unitto/data/preferences/Separator.kt index 242a6ff7..bf582481 100644 --- a/app/src/main/java/com/sadellie/unitto/data/preferences/Separator.kt +++ b/app/src/main/java/com/sadellie/unitto/data/preferences/Separator.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.preferences import com.sadellie.unitto.R diff --git a/app/src/main/java/com/sadellie/unitto/data/preferences/UserPreferences.kt b/app/src/main/java/com/sadellie/unitto/data/preferences/UserPreferences.kt index 6e1a5af8..d9a5e670 100644 --- a/app/src/main/java/com/sadellie/unitto/data/preferences/UserPreferences.kt +++ b/app/src/main/java/com/sadellie/unitto/data/preferences/UserPreferences.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.preferences import androidx.datastore.core.DataStore diff --git a/app/src/main/java/com/sadellie/unitto/data/units/AbstractUnit.kt b/app/src/main/java/com/sadellie/unitto/data/units/AbstractUnit.kt index 8f1048ec..8f058ce6 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/AbstractUnit.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/AbstractUnit.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units import androidx.annotation.StringRes diff --git a/app/src/main/java/com/sadellie/unitto/data/units/AllUnits.kt b/app/src/main/java/com/sadellie/unitto/data/units/AllUnits.kt index 3d8ac2ff..5aa8c0fa 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/AllUnits.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/AllUnits.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units import android.content.Context diff --git a/app/src/main/java/com/sadellie/unitto/data/units/MyUnit.kt b/app/src/main/java/com/sadellie/unitto/data/units/MyUnit.kt index 2db9bc9f..05de8fb8 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/MyUnit.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/MyUnit.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units import androidx.annotation.StringRes diff --git a/app/src/main/java/com/sadellie/unitto/data/units/MyUnitIDS.kt b/app/src/main/java/com/sadellie/unitto/data/units/MyUnitIDS.kt index 8cf0c6e5..d432a5ba 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/MyUnitIDS.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/MyUnitIDS.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units /** diff --git a/app/src/main/java/com/sadellie/unitto/data/units/UnitGroup.kt b/app/src/main/java/com/sadellie/unitto/data/units/UnitGroup.kt index a1b7acfe..5833098c 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/UnitGroup.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/UnitGroup.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units import androidx.annotation.StringRes diff --git a/app/src/main/java/com/sadellie/unitto/data/units/database/BasedUnitDatabaseModule.kt b/app/src/main/java/com/sadellie/unitto/data/units/database/BasedUnitDatabaseModule.kt index a154bec5..51773390 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/database/BasedUnitDatabaseModule.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/database/BasedUnitDatabaseModule.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units.database import android.content.Context diff --git a/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnit.kt b/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnit.kt index 86e72e07..f94b345f 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnit.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnit.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units.database import androidx.room.ColumnInfo diff --git a/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitDao.kt b/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitDao.kt index e5136175..dc44bfff 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitDao.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitDao.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units.database import androidx.room.Dao diff --git a/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitDatabase.kt b/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitDatabase.kt index b826af25..42320213 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitDatabase.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitDatabase.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units.database import androidx.room.Database diff --git a/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitsRepository.kt b/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitsRepository.kt index 984a8ed8..a1e553a5 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitsRepository.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/database/MyBasedUnitsRepository.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units.database import javax.inject.Inject diff --git a/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyApiService.kt b/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyApiService.kt index 9cb8dc9b..642bc5db 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyApiService.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyApiService.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units.remote import com.squareup.moshi.Moshi diff --git a/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyUnitResponse.kt b/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyUnitResponse.kt index 69a77dc4..e56c3dcd 100644 --- a/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyUnitResponse.kt +++ b/app/src/main/java/com/sadellie/unitto/data/units/remote/CurrencyUnitResponse.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units.remote import com.squareup.moshi.FromJson diff --git a/app/src/main/java/com/sadellie/unitto/screens/MainScreenUIState.kt b/app/src/main/java/com/sadellie/unitto/screens/MainScreenUIState.kt index 3fd7658e..d3cc2a98 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/MainScreenUIState.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/MainScreenUIState.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens import com.sadellie.unitto.data.KEY_0 diff --git a/app/src/main/java/com/sadellie/unitto/screens/MainViewModel.kt b/app/src/main/java/com/sadellie/unitto/screens/MainViewModel.kt index 15977d77..f18eca0d 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/MainViewModel.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/MainViewModel.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens import android.app.Application diff --git a/app/src/main/java/com/sadellie/unitto/screens/Utils.kt b/app/src/main/java/com/sadellie/unitto/screens/Utils.kt index f1646d08..79390496 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/Utils.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/Utils.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens import android.content.Context diff --git a/app/src/main/java/com/sadellie/unitto/screens/about/AboutScreen.kt b/app/src/main/java/com/sadellie/unitto/screens/about/AboutScreen.kt index 65c3ea21..f115edc7 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/about/AboutScreen.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/about/AboutScreen.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.about import androidx.compose.animation.rememberSplineBasedDecay diff --git a/app/src/main/java/com/sadellie/unitto/screens/main/MainScreen.kt b/app/src/main/java/com/sadellie/unitto/screens/main/MainScreen.kt index 19136054..ce940ca1 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/main/MainScreen.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/main/MainScreen.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.main diff --git a/app/src/main/java/com/sadellie/unitto/screens/main/components/Keyboard.kt b/app/src/main/java/com/sadellie/unitto/screens/main/components/Keyboard.kt index 8735dfdc..7b877b3d 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/main/components/Keyboard.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/main/components/Keyboard.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.main.components import androidx.compose.foundation.layout.Column diff --git a/app/src/main/java/com/sadellie/unitto/screens/main/components/KeyboardButton.kt b/app/src/main/java/com/sadellie/unitto/screens/main/components/KeyboardButton.kt index 7a8c61aa..8cce7079 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/main/components/KeyboardButton.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/main/components/KeyboardButton.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.main.components import androidx.compose.foundation.layout.PaddingValues diff --git a/app/src/main/java/com/sadellie/unitto/screens/main/components/MyTextField.kt b/app/src/main/java/com/sadellie/unitto/screens/main/components/MyTextField.kt index 9b0cf716..a4f74257 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/main/components/MyTextField.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/main/components/MyTextField.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.main.components import android.widget.Toast diff --git a/app/src/main/java/com/sadellie/unitto/screens/main/components/TopScreen.kt b/app/src/main/java/com/sadellie/unitto/screens/main/components/TopScreen.kt index 58a4cdc0..be44626b 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/main/components/TopScreen.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/main/components/TopScreen.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.main.components import androidx.compose.foundation.layout.Arrangement diff --git a/app/src/main/java/com/sadellie/unitto/screens/main/components/UnitSelectionButton.kt b/app/src/main/java/com/sadellie/unitto/screens/main/components/UnitSelectionButton.kt index 5d566854..3f8dfbf4 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/main/components/UnitSelectionButton.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/main/components/UnitSelectionButton.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.main.components import androidx.compose.animation.AnimatedContent diff --git a/app/src/main/java/com/sadellie/unitto/screens/second/SecondScreen.kt b/app/src/main/java/com/sadellie/unitto/screens/second/SecondScreen.kt index ce672022..fe0a4c8c 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/second/SecondScreen.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/second/SecondScreen.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.second import androidx.compose.foundation.layout.Column diff --git a/app/src/main/java/com/sadellie/unitto/screens/second/SecondScreenUIState.kt b/app/src/main/java/com/sadellie/unitto/screens/second/SecondScreenUIState.kt index b6aa6adf..e006f157 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/second/SecondScreenUIState.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/second/SecondScreenUIState.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.second import com.sadellie.unitto.data.units.AbstractUnit diff --git a/app/src/main/java/com/sadellie/unitto/screens/second/SecondViewModel.kt b/app/src/main/java/com/sadellie/unitto/screens/second/SecondViewModel.kt index 11249cc5..07ca8058 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/second/SecondViewModel.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/second/SecondViewModel.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.second import androidx.compose.runtime.getValue diff --git a/app/src/main/java/com/sadellie/unitto/screens/second/components/ChipsRow.kt b/app/src/main/java/com/sadellie/unitto/screens/second/components/ChipsRow.kt index 5dcac2bf..b7c5ec6e 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/second/components/ChipsRow.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/second/components/ChipsRow.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.second.components import androidx.compose.animation.AnimatedVisibility diff --git a/app/src/main/java/com/sadellie/unitto/screens/second/components/Header.kt b/app/src/main/java/com/sadellie/unitto/screens/second/components/Header.kt index 41d82bc2..b5fbc6c3 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/second/components/Header.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/second/components/Header.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.second.components import androidx.compose.foundation.background diff --git a/app/src/main/java/com/sadellie/unitto/screens/second/components/SearchBar.kt b/app/src/main/java/com/sadellie/unitto/screens/second/components/SearchBar.kt index 969830fd..685dd5cd 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/second/components/SearchBar.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/second/components/SearchBar.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.second.components import androidx.activity.compose.BackHandler diff --git a/app/src/main/java/com/sadellie/unitto/screens/second/components/SearchPlaceholder.kt b/app/src/main/java/com/sadellie/unitto/screens/second/components/SearchPlaceholder.kt index 76c9aaff..83a78b2d 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/second/components/SearchPlaceholder.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/second/components/SearchPlaceholder.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.second.components import androidx.compose.foundation.layout.Arrangement diff --git a/app/src/main/java/com/sadellie/unitto/screens/second/components/UnitListItem.kt b/app/src/main/java/com/sadellie/unitto/screens/second/components/UnitListItem.kt index 4165d0b0..c4845dad 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/second/components/UnitListItem.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/second/components/UnitListItem.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.second.components import androidx.compose.animation.AnimatedContent diff --git a/app/src/main/java/com/sadellie/unitto/screens/setttings/AlertDialogWithList.kt b/app/src/main/java/com/sadellie/unitto/screens/setttings/AlertDialogWithList.kt index b02e478a..0b736596 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/setttings/AlertDialogWithList.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/setttings/AlertDialogWithList.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.setttings import androidx.compose.foundation.clickable diff --git a/app/src/main/java/com/sadellie/unitto/screens/setttings/SettingsListItem.kt b/app/src/main/java/com/sadellie/unitto/screens/setttings/SettingsListItem.kt index 80f3e383..6211bcf9 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/setttings/SettingsListItem.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/setttings/SettingsListItem.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.setttings import androidx.compose.foundation.clickable diff --git a/app/src/main/java/com/sadellie/unitto/screens/setttings/SettingsScreen.kt b/app/src/main/java/com/sadellie/unitto/screens/setttings/SettingsScreen.kt index 74ce120f..b7585504 100644 --- a/app/src/main/java/com/sadellie/unitto/screens/setttings/SettingsScreen.kt +++ b/app/src/main/java/com/sadellie/unitto/screens/setttings/SettingsScreen.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens.setttings import android.os.Build diff --git a/app/src/main/java/com/sadellie/unitto/ui/theme/Color.kt b/app/src/main/java/com/sadellie/unitto/ui/theme/Color.kt index 20c5b27b..83956851 100644 --- a/app/src/main/java/com/sadellie/unitto/ui/theme/Color.kt +++ b/app/src/main/java/com/sadellie/unitto/ui/theme/Color.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.ui.theme import androidx.compose.ui.graphics.Color diff --git a/app/src/main/java/com/sadellie/unitto/ui/theme/ColorSchemeUtils.kt b/app/src/main/java/com/sadellie/unitto/ui/theme/ColorSchemeUtils.kt index 95d35db7..f72918d3 100644 --- a/app/src/main/java/com/sadellie/unitto/ui/theme/ColorSchemeUtils.kt +++ b/app/src/main/java/com/sadellie/unitto/ui/theme/ColorSchemeUtils.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.ui.theme import android.app.WallpaperManager diff --git a/app/src/main/java/com/sadellie/unitto/ui/theme/ColorSchemes.kt b/app/src/main/java/com/sadellie/unitto/ui/theme/ColorSchemes.kt index 50eb4f34..a5e4ad87 100644 --- a/app/src/main/java/com/sadellie/unitto/ui/theme/ColorSchemes.kt +++ b/app/src/main/java/com/sadellie/unitto/ui/theme/ColorSchemes.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.ui.theme import androidx.compose.material3.darkColorScheme diff --git a/app/src/main/java/com/sadellie/unitto/ui/theme/Theme.kt b/app/src/main/java/com/sadellie/unitto/ui/theme/Theme.kt index c1eefd7b..1214a5fd 100644 --- a/app/src/main/java/com/sadellie/unitto/ui/theme/Theme.kt +++ b/app/src/main/java/com/sadellie/unitto/ui/theme/Theme.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.ui.theme import android.os.Build diff --git a/app/src/main/java/com/sadellie/unitto/ui/theme/Type.kt b/app/src/main/java/com/sadellie/unitto/ui/theme/Type.kt index 91839050..267a0b73 100644 --- a/app/src/main/java/com/sadellie/unitto/ui/theme/Type.kt +++ b/app/src/main/java/com/sadellie/unitto/ui/theme/Type.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.ui.theme import androidx.compose.material3.Typography diff --git a/app/src/test/java/com/sadellie/unitto/data/units/AllUnitsRepositoryTest.kt b/app/src/test/java/com/sadellie/unitto/data/units/AllUnitsRepositoryTest.kt index 8847c7ac..85977c6e 100644 --- a/app/src/test/java/com/sadellie/unitto/data/units/AllUnitsRepositoryTest.kt +++ b/app/src/test/java/com/sadellie/unitto/data/units/AllUnitsRepositoryTest.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units import org.junit.Assert.assertEquals diff --git a/app/src/test/java/com/sadellie/unitto/data/units/AllUnitsTest.kt b/app/src/test/java/com/sadellie/unitto/data/units/AllUnitsTest.kt index ea945e5c..4f7659b8 100644 --- a/app/src/test/java/com/sadellie/unitto/data/units/AllUnitsTest.kt +++ b/app/src/test/java/com/sadellie/unitto/data/units/AllUnitsTest.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.data.units diff --git a/app/src/test/java/com/sadellie/unitto/screens/FormatterTest.kt b/app/src/test/java/com/sadellie/unitto/screens/FormatterTest.kt index 20d6c558..ce8187dc 100644 --- a/app/src/test/java/com/sadellie/unitto/screens/FormatterTest.kt +++ b/app/src/test/java/com/sadellie/unitto/screens/FormatterTest.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens import com.sadellie.unitto.data.preferences.Separator diff --git a/app/src/test/java/com/sadellie/unitto/screens/LevenshteinFilterAndSortTest.kt b/app/src/test/java/com/sadellie/unitto/screens/LevenshteinFilterAndSortTest.kt index 3daa97b0..9d81c624 100644 --- a/app/src/test/java/com/sadellie/unitto/screens/LevenshteinFilterAndSortTest.kt +++ b/app/src/test/java/com/sadellie/unitto/screens/LevenshteinFilterAndSortTest.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens import com.sadellie.unitto.data.units.AbstractUnit diff --git a/app/src/test/java/com/sadellie/unitto/screens/LevenshteinTest.kt b/app/src/test/java/com/sadellie/unitto/screens/LevenshteinTest.kt index 29da9051..77cb258d 100644 --- a/app/src/test/java/com/sadellie/unitto/screens/LevenshteinTest.kt +++ b/app/src/test/java/com/sadellie/unitto/screens/LevenshteinTest.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens import org.junit.Assert.assertEquals diff --git a/app/src/test/java/com/sadellie/unitto/screens/MinimumRequiredScaleTest.kt b/app/src/test/java/com/sadellie/unitto/screens/MinimumRequiredScaleTest.kt index e09d41a7..4facd9b7 100644 --- a/app/src/test/java/com/sadellie/unitto/screens/MinimumRequiredScaleTest.kt +++ b/app/src/test/java/com/sadellie/unitto/screens/MinimumRequiredScaleTest.kt @@ -1,3 +1,21 @@ +/* + * Unitto is a unit converter for Android + * Copyright (c) 2022-2022 Elshan Agaev + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.sadellie.unitto.screens import org.junit.Assert.assertEquals