Set icons

This commit is contained in:
vishnukvmd
2025-08-19 18:58:21 +05:30
parent 3a1b6dbf15
commit 2830c89bde
62 changed files with 135 additions and 70 deletions

View File

@@ -8,7 +8,7 @@
<application
android:label="Ente Locker"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
android:icon="@mipmap/icon_blue">
<activity
android:name=".MainActivity"
android:exported="true"

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#1071ff</color>
</resources>

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

View File

@@ -622,7 +622,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_APPICON_NAME = IconBlue;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
@@ -929,7 +929,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_APPICON_NAME = IconBlue;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
@@ -956,7 +956,7 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_APPICON_NAME = IconBlue;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@@ -0,0 +1 @@
{"images":[{"size":"20x20","idiom":"iphone","filename":"IconBlue-20x20@2x.png","scale":"2x"},{"size":"20x20","idiom":"iphone","filename":"IconBlue-20x20@3x.png","scale":"3x"},{"size":"29x29","idiom":"iphone","filename":"IconBlue-29x29@1x.png","scale":"1x"},{"size":"29x29","idiom":"iphone","filename":"IconBlue-29x29@2x.png","scale":"2x"},{"size":"29x29","idiom":"iphone","filename":"IconBlue-29x29@3x.png","scale":"3x"},{"size":"40x40","idiom":"iphone","filename":"IconBlue-40x40@2x.png","scale":"2x"},{"size":"40x40","idiom":"iphone","filename":"IconBlue-40x40@3x.png","scale":"3x"},{"size":"57x57","idiom":"iphone","filename":"IconBlue-57x57@1x.png","scale":"1x"},{"size":"57x57","idiom":"iphone","filename":"IconBlue-57x57@2x.png","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"IconBlue-60x60@2x.png","scale":"2x"},{"size":"60x60","idiom":"iphone","filename":"IconBlue-60x60@3x.png","scale":"3x"},{"size":"20x20","idiom":"ipad","filename":"IconBlue-20x20@1x.png","scale":"1x"},{"size":"20x20","idiom":"ipad","filename":"IconBlue-20x20@2x.png","scale":"2x"},{"size":"29x29","idiom":"ipad","filename":"IconBlue-29x29@1x.png","scale":"1x"},{"size":"29x29","idiom":"ipad","filename":"IconBlue-29x29@2x.png","scale":"2x"},{"size":"40x40","idiom":"ipad","filename":"IconBlue-40x40@1x.png","scale":"1x"},{"size":"40x40","idiom":"ipad","filename":"IconBlue-40x40@2x.png","scale":"2x"},{"size":"50x50","idiom":"ipad","filename":"IconBlue-50x50@1x.png","scale":"1x"},{"size":"50x50","idiom":"ipad","filename":"IconBlue-50x50@2x.png","scale":"2x"},{"size":"72x72","idiom":"ipad","filename":"IconBlue-72x72@1x.png","scale":"1x"},{"size":"72x72","idiom":"ipad","filename":"IconBlue-72x72@2x.png","scale":"2x"},{"size":"76x76","idiom":"ipad","filename":"IconBlue-76x76@1x.png","scale":"1x"},{"size":"76x76","idiom":"ipad","filename":"IconBlue-76x76@2x.png","scale":"2x"},{"size":"83.5x83.5","idiom":"ipad","filename":"IconBlue-83.5x83.5@2x.png","scale":"2x"},{"size":"1024x1024","idiom":"ios-marketing","filename":"IconBlue-1024x1024@1x.png","scale":"1x"}],"info":{"version":1,"author":"xcode"}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@@ -89,6 +89,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.4.0"
checked_yaml:
dependency: transitive
description:
name: checked_yaml
sha256: "959525d3162f249993882720d52b7e0c833978df229be20702b33d48d91de70f"
url: "https://pub.dev"
source: hosted
version: "2.0.4"
cli_util:
dependency: transitive
description:
name: cli_util
sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c
url: "https://pub.dev"
source: hosted
version: "0.4.2"
clock:
dependency: transitive
description:
@@ -445,6 +461,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.6.0"
flutter_launcher_icons:
dependency: "direct dev"
description:
name: flutter_launcher_icons
sha256: "10f13781741a2e3972126fae08393d3c4e01fa4cd7473326b94b72cf594195e7"
url: "https://pub.dev"
source: hosted
version: "0.14.4"
flutter_lints:
dependency: "direct dev"
description:
@@ -605,6 +629,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.1.0"
image:
dependency: transitive
description:
name: image
sha256: "4e973fcf4caae1a4be2fa0a13157aa38a8f9cb049db6529aa00b4d71abc4d928"
url: "https://pub.dev"
source: hosted
version: "4.5.4"
intl:
dependency: transitive
description:
@@ -949,6 +981,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.3.0"
petitparser:
dependency: transitive
description:
name: petitparser
sha256: "1a97266a94f7350d30ae522c0af07890c70b8e62c71e8e3920d1db4d23c057d1"
url: "https://pub.dev"
source: hosted
version: "7.0.1"
pinput:
dependency: transitive
description:
@@ -1458,6 +1498,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.1.0"
xml:
dependency: transitive
description:
name: xml
sha256: "971043b3a0d3da28727e40ed3e0b5d18b742fa5a68665cca88e74b7876d5e025"
url: "https://pub.dev"
source: hosted
version: "6.6.1"
xmlstream:
dependency: transitive
description:
@@ -1466,6 +1514,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "1.1.1"
yaml:
dependency: transitive
description:
name: yaml
sha256: b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce
url: "https://pub.dev"
source: hosted
version: "3.1.3"
sdks:
dart: ">=3.7.2 <4.0.0"
dart: ">=3.8.0 <4.0.0"
flutter: ">=3.27.0"

View File

@@ -64,6 +64,7 @@ dependencies:
window_manager: ^0.5.0
dev_dependencies:
flutter_launcher_icons: ^0.14.3
flutter_lints: ^4.0.0
flutter_test:
sdk: flutter
@@ -86,3 +87,10 @@ flutter:
- family: Montserrat
fonts:
- asset: assets/fonts/Montserrat-Bold.ttf
flutter_icons:
adaptive_icon_foreground: "assets/launcher-icons/icon-foreground.png"
adaptive_icon_background: "#1071ff"
android: "icon_blue"
ios: "IconBlue"
image_path: "assets/launcher-icons/icon-blue.png"

View File

@@ -1 +1 @@
2edd7a931624573eff7b4280d22a7f4e
1bb2a21ff13ffb469b0dfcac2f14d315

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
["/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ar.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_bg.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_cs.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_da.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_el.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_en.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_es.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_fr.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_id.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ja.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ko.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_lt.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_nl.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_pl.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_pt.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ru.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_sk.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_sr.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_sv.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_tr.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_vi.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_zh.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations.dart"]
["/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ar.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_be.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_bg.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ca.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_cs.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_da.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_de.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_el.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_en.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_es.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_et.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_fa.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_fi.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_fr.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_gu.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_he.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_hi.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_hu.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_id.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_it.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ja.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ka.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_km.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ko.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_lt.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_lv.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ml.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_nl.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_pl.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_pt.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ro.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ru.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_sk.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_sl.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_sr.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_sv.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_ti.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_tr.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_uk.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_vi.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations_zh.dart","/Users/vishnu/work/ente/mobile/packages/strings/lib/l10n/strings_localizations.dart"]

View File

@@ -102,15 +102,13 @@ import 'strings_localizations_zh.dart';
/// property.
abstract class StringsLocalizations {
StringsLocalizations(String locale)
: localeName = intl.Intl.canonicalizedLocale(locale.toString());
: localeName = intl.Intl.canonicalizedLocale(locale.toString());
final String localeName;
static StringsLocalizations of(BuildContext context) {
return Localizations.of<StringsLocalizations>(
context,
StringsLocalizations,
)!;
context, StringsLocalizations)!;
}
static const LocalizationsDelegate<StringsLocalizations> delegate =
@@ -128,11 +126,11 @@ abstract class StringsLocalizations {
/// of delegates is preferred or required.
static const List<LocalizationsDelegate<dynamic>> localizationsDelegates =
<LocalizationsDelegate<dynamic>>[
delegate,
GlobalMaterialLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
];
delegate,
GlobalMaterialLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
];
/// A list of this localizations delegate's supported locales.
static const List<Locale> supportedLocales = <Locale>[
@@ -178,7 +176,7 @@ abstract class StringsLocalizations {
Locale('vi'),
Locale('zh'),
Locale('zh', 'CN'),
Locale('zh', 'TW'),
Locale('zh', 'TW')
];
/// Error message shown when the app cannot connect to Ente due to network host lookup failure
@@ -1305,54 +1303,53 @@ class _StringsLocalizationsDelegate
@override
Future<StringsLocalizations> load(Locale locale) {
return SynchronousFuture<StringsLocalizations>(
lookupStringsLocalizations(locale),
);
lookupStringsLocalizations(locale));
}
@override
bool isSupported(Locale locale) => <String>[
'ar',
'be',
'bg',
'ca',
'cs',
'da',
'de',
'el',
'en',
'es',
'et',
'fa',
'fi',
'fr',
'gu',
'he',
'hi',
'hu',
'id',
'it',
'ja',
'ka',
'km',
'ko',
'lt',
'lv',
'ml',
'nl',
'pl',
'pt',
'ro',
'ru',
'sk',
'sl',
'sr',
'sv',
'ti',
'tr',
'uk',
'vi',
'zh',
].contains(locale.languageCode);
'ar',
'be',
'bg',
'ca',
'cs',
'da',
'de',
'el',
'en',
'es',
'et',
'fa',
'fi',
'fr',
'gu',
'he',
'hi',
'hu',
'id',
'it',
'ja',
'ka',
'km',
'ko',
'lt',
'lv',
'ml',
'nl',
'pl',
'pt',
'ro',
'ru',
'sk',
'sl',
'sr',
'sv',
'ti',
'tr',
'uk',
'vi',
'zh'
].contains(locale.languageCode);
@override
bool shouldReload(_StringsLocalizationsDelegate old) => false;
@@ -1460,9 +1457,8 @@ StringsLocalizations lookupStringsLocalizations(Locale locale) {
}
throw FlutterError(
'StringsLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
'an issue with the localizations generation tool. Please file an issue '
'on GitHub with a reproducible sample app and the gen-l10n configuration '
'that was used.',
);
'StringsLocalizations.delegate failed to load unsupported locale "$locale". This is likely '
'an issue with the localizations generation tool. Please file an issue '
'on GitHub with a reproducible sample app and the gen-l10n configuration '
'that was used.');
}