From a35c813c2ba2fd51c168f5ba3ffc6ab6cd802dd1 Mon Sep 17 00:00:00 2001 From: Liigo Zhuang Date: Tue, 23 Oct 2018 09:48:16 +0800 Subject: [PATCH] `CounterApplication` => `DataModel` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c83a24166..5ba10801a 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ fn update_counter(app_state: &mut AppState, _event: WindowEvent) -> U } fn main() { - let app = App::new(CounterApplication { counter: 0 }, AppConfig::default()); + let app = App::new(DataModel { counter: 0 }, AppConfig::default()); app.run(Window::new(WindowCreateOptions::default(), Css::native()).unwrap()).unwrap(); } ``` @@ -240,4 +240,4 @@ This library is MIT-licensed. It was developed by [Maps4Print](http://maps4print for quickly prototyping and producing desktop GUI cross-platform applications, such as vector or photo editors. -For licensing questions, please contact opensource@maps4print.com \ No newline at end of file +For licensing questions, please contact opensource@maps4print.com