mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-05 20:48:24 +00:00
Remove superfluous stuff
This commit is contained in:
@@ -106,7 +106,6 @@ class App extends BaseApp with DataModelMixin<App> {
|
||||
final result = await InstallPlugin.install(file.path);
|
||||
|
||||
if (result['isSuccess']) {
|
||||
notifier.state = IdleInstallProgress();
|
||||
await file.delete();
|
||||
await adapter.ref.localApps.localAppAdapter
|
||||
.refreshUpdateStatus(appId: identifier);
|
||||
|
||||
@@ -25,7 +25,7 @@ class DrawerContainer extends StatelessWidget {
|
||||
final state = ref.watch(systemInfoProvider);
|
||||
return switch (state) {
|
||||
AsyncData(:final value) => Text(
|
||||
'Version: ${value.zsInfo.versionName} (${value.zsInfo.versionCode}, $kDbVersion) -- ${ref.apps.appAdapter.queriedAtMap.length}',
|
||||
'Version: ${value.zsInfo.versionName} (${value.zsInfo.versionCode}, $kDbVersion)',
|
||||
style: TextStyle(fontSize: 16),
|
||||
),
|
||||
_ => Container(),
|
||||
|
||||
Reference in New Issue
Block a user